Page 11 of 32 FirstFirst ... 91011121321 ... LastLast
Results 251 to 275 of 792

Thread: [OSR]Reflection Include

  1. #251
    Join Date
    Mar 2012
    Posts
    201
    Mentioned
    8 Post(s)
    Quoted
    74 Post(s)

    Default

    Just realised those hooks won't compile for 2 reasons:
    The Actor_InteractingIndex needs to be Actor_Interacting

    Secondly I don't have the hooks for NPC Level or NPC ID which are used. Sorry guys; will fix later tonight

  2. #252
    Join Date
    Sep 2008
    Posts
    754
    Mentioned
    8 Post(s)
    Quoted
    275 Post(s)

    Default

    was a few more hooks such as widget

    Simba Code:
    Widget_getItems                                   =   'ds';
      Widget_getStackSizes                              =   'da';
      Widget_getID                                      =   'i';
      Widget_Y_Multiplier = -395318811;

    But overall i had to just copy paste them from the current reflection hook file to the hooks you gave out just so they exist there to avoid all compiling errors - worked like a charm (I have no use for these hooks anyway so i dont mind).

    Thanks a lot!, in other news.. been trying to Astral project again for a a good hour - no success, any advise?
    Quit gaming

  3. #253
    Join Date
    Oct 2006
    Posts
    206
    Mentioned
    2 Post(s)
    Quoted
    45 Post(s)

  4. #254
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    fish's updater would be like 50x better if he edited the names it spits out to be the same names in the hooks.simba file
    @samerdl can you upload your working hooks.simba file?

  5. #255
    Join Date
    Dec 2008
    Posts
    135
    Mentioned
    0 Post(s)
    Quoted
    44 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    fish's updater would be like 50x better if he edited the names it spits out to be the same names in the hooks.simba file
    @samerdl can you upload your working hooks.simba file?
    At this rate, SRL should just change its names to match fish's name.

  6. #256
    Join Date
    Sep 2008
    Posts
    754
    Mentioned
    8 Post(s)
    Quoted
    275 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    fish's updater would be like 50x better if he edited the names it spits out to be the same names in the hooks.simba file
    @samerdl can you upload your working hooks.simba file?
    Simba Code:
    [code]
    { 187 Hooks Found By Cheddys Beautiful Updater }

    const
    ReflectionRevision = '49';


        {* BoundaryObject - 9 Hooks *}
        BoundaryObject = 'cl';
            BoundaryObject_AlternativeOrientation = 'l';
            BoundaryObject_AlternativeOrientation_Multiplier = 1389124145;
            BoundaryObject_BackupRenderable = 'a';
            BoundaryObject_Flags = 'r';
            BoundaryObject_Flags_Multiplier = -621404059;
            BoundaryObject_Hash = 'x';
            BoundaryObject_Hash_Multiplier = 174051663;
            BoundaryObject_Orientation = 'v';
            BoundaryObject_Orientation_Multiplier = 695777807;
            BoundaryObject_Plane = 'y';
            BoundaryObject_Plane_Multiplier = -1114608285;
            BoundaryObject_Renderable = 'g';
            BoundaryObject_Get_X = 'u';
            BoundaryObject_Get_X_Multiplier = 1452391039;
            BoundaryObject_Get_Y = 'k';
            BoundaryObject_Get_Y_Multiplier = -949838095;

        {* Cache - 3 Hooks *}
        Cache = 'fx';
            Cache_CacheableNode = 'y';
            Cache_HashTable = 'v';
            Cache_Queue = 'l';

        {* CacheableNode - 2 Hooks *}
        CacheableNode = 'ft';
            CacheableNode_Next = 'cr';
            CacheableNode_Previous = 'cl';

        {* Canvas - 1 Hooks *}
        Canvas = 'dc';
            Canvas_Component = 'u';

        {* Actor - 18 Hooks *}
        Actor = 'ai';
            Actor_Animation = 'an';
            Actor_Animation_Multiplier = -772673237;
            Actor_CombatCycle = 'ae';
            Actor_CombatCycle_Multiplier = 738616745;
            Actor_Health = 'at';
            Actor_Health_Multiplier = 664073677;
            Actor_HitCycles = 'ap';
            Actor_HitDamages = 'ac';
            Actor_HitTypes = 'aj';
            Actor_InteractingIndex = 'aw';
            Actor_InteractingIndex_Multiplier = 974088395;
            Actor_MaxHealth = 'as';
            Actor_MaxHealth_Multiplier = 1495817743;
            Actor_Orientation = 'bi';
            Actor_Orientation_Multiplier = -692156845;
            Actor_ActiveText = 'ai';
            Actor_PositionOffset = 'd';
            Actor_PositionOffset_Multiplier = 1931324096;
            Actor_PathLength = 'bk';
            Actor_PathLength_Multiplier = 1333577889;
            Actor_PathTraversed = 'bj';
            Actor_PathX = 'bg';
            Actor_PathY = 'bs';
            Actor_LocalX = 'b';
            Actor_LocalX_Multiplier = -115581019;
            Actor_LocalY = 'i';
            Actor_LocalY_Multiplier = 1862326073;
            Actor_isInSequence = 'ab';

        {* ClassData - 3 Hooks *}
        ClassData = 'gn';
            ClassData_Bytes = 'x';
            ClassData_Fields = 'l';
            ClassData_Methods = 'a';

        {* Client - 46 Hooks *}
        Client = 'client';
            Client_BaseX = 'ae.co';
            Client_BaseX_Multiplier = -75820169;
            Client_BaseY = 'ak.cv';
            Client_BaseY_Multiplier = 1363071411;
            Client_CameraPitch = 'ct.fy';
            Client_CameraPitch_Multiplier = 978451045;
            Client_CameraX = 'w.fv';
            Client_CameraX_Multiplier = 579382229;
            Client_CameraY = 'cp.fw';
            Client_CameraY_Multiplier = 201905125;
            Client_CameraYaw = 'br.fk';
            Client_CameraYaw_Multiplier = 875492681;
            Client_CameraZ = 'i.fl';
            Client_CameraZ_Multiplier = 282686931;
            Client_CollisionMaps = 'client.w';
            Client_Levels = 'client.hz';
            Client_Run_Energy = 'client.jt';
            Client_Run_Energy_Multiplier = -1148693389;
            Client_Experiences = 'client.hv';
            Client_LoopCycle = 'client.j';
            Client_LoopCycle_Multiplier = -1554219467;
            Client_GroundItems = 'client.hp';
            Client_NPCs = 'client.bj';
            Client_Player = 'cg.hb';
            Client_Players = 'client.gq';
            Client_Login_State = 'al.ah';
            Client_Login_State_Multiplier = 1080992083;
            Client_CompassAngle = 'client.fd';
            Client_CompassAngle_Multiplier = 188773915;
            Client_Map_Offset = 'client.dj';
            Client_Map_Offset_Multiplier = 100607273;
            Client_Map_Scale = 'client.dl';
            Client_Map_Scale_Multiplier = 275005369;
            Client_Real_Levels = 'client.hq';
            Client_MenuActions = 'client.iu';
            Client_MenuCount = 'client.ii';
            Client_MenuCount_Multiplier = -779437725;
            Client_MenuHeight = 'br.io';
            Client_MenuHeight_Multiplier = -834841965;
            Client_MenuOptions = 'client.iv';
            Client_MenuWidth = 'cg.iy';
            Client_MenuWidth_Multiplier = -1155881505;
            Client_MenuX = 'aa.ht';
            Client_MenuX_Multiplier = 1487758909;
            Client_MenuY = 'm.hg';
            Client_MenuY_Multiplier = -329146929;
            Client_MouseX = 'dr.g';
            Client_MouseX_Multiplier = -476633551;
            Client_MouseY = 'dr.a';
            Client_MouseY_Multiplier = 1607741335;
            Client_NPCIndices = 'client.bx';
            Client_Password = 'al.ax';
            Client_Plane = 'v.hd';
            Client_Plane_Multiplier = -946619189;
            Client_Settings = 'et.u';
            Client_Region = 'k.dg';
            Client_GroundHeights = 'g.y';
            Client_GroundSettings = 'g.u';
            Client_Username = 'al.ag';
            Client_Weight = 'client.jn';
            Client_Weight_Multiplier = -2075744581;
            Client_WidgetHeights = 'client.lm';
            Client_WidgetPositionsX = 'client.lr';
            Client_WidgetPositionsY = 'client.lp';
            Client_Widgets = 'ee.u';
            Client_WidgetSettings = 'et.k';
            Client_WidgetWidths = 'client.ll';
            Client_isMenuOpen = 'client.hy';

        {* CollisionMap - 5 Hooks *}
        CollisionMap = 'gx';
            CollisionMap_Flags = 'aa';
            CollisionMap_Height = 'av';
            CollisionMap_Height_Multiplier = 519861409;
            CollisionMap_OffsetX = 'al';
            CollisionMap_OffsetX_Multiplier = 571754825;
            CollisionMap_OffsetY = 'aq';
            CollisionMap_OffsetY_Multiplier = 44134315;
            CollisionMap_Width = 'e';
            CollisionMap_Width_Multiplier = 1360578593;

        {* FloorDecorationObject - 6 Hooks *}
        FloorDecorationObject = 'ct';
            FloorDecorationObject_Flags = 'g';
            FloorDecorationObject_Flags_Multiplier = -380911001;
            FloorDecorationObject_Hash = 'l';
            FloorDecorationObject_Hash_Multiplier = 197400825;
            FloorDecorationObject_Plane = 'y';
            FloorDecorationObject_Plane_Multiplier = 554106865;
            FloorDecorationObject_Renderable = 'v';
            FloorDecorationObject_Get_X = 'u';
            FloorDecorationObject_Get_X_Multiplier = 149257185;
            FloorDecorationObject_Get_Y = 'k';
            FloorDecorationObject_Get_Y_Multiplier = 1639278273;

        {* HashTable - 1 Hooks *}
        HashTable = 'fr';
            HashTable_Nodes = 'u';

        {* Item - 2 Hooks *}
        Item = 'z';
            Item_ID = 'y';
            Item_ID_Multiplier = 320823979;
            Item_StackSize = 'u';
            Item_StackSize_Multiplier = 1770558897;

        {* ItemDefinition - 9 Hooks *}
        ItemDefinition = 'aw';
            ItemDefinition_GroundActions = 'd';
            ItemDefinition_ModelColours = 'c';
            ItemDefinition_ModelSizeX = 'ae';
            ItemDefinition_ModelSizeX_Multiplier = -1056598195;
            ItemDefinition_ModelSizeY = 'at';
            ItemDefinition_ModelSizeY_Multiplier = 1855279859;
            ItemDefinition_ModelSizeZ = 'as';
            ItemDefinition_ModelSizeZ_Multiplier = 855806131;
            ItemDefinition_Name = 'w';
            ItemDefinition_NewModelColours = 'f';
            ItemDefinition_InventoryActions = 'z';
            ItemDefinition_isMembers = 'q';

        {* ItemLayer - 0 Hooks *}
        ItemLayer = 'cw';

        {* LinkedList - 2 Hooks *}
        LinkedList = 'fn';
            LinkedList_Head = 'y';
            LinkedList_Tail = 'u';

        {* Model - 11 Hooks *}
        Model = 'cz';
            Model_IndicesLength = 'r';
            Model_IndicesLength_Multiplier = 1;
            Model_IndicesX = 'w';
            Model_IndicesY = 'c';
            Model_IndicesZ = 'f';
            Model_TexturedIndicesX = 'o';
            Model_TexturedIndicesY = 'p';
            Model_TexturedIndicesZ = 'n';
            Model_VerticesLength = 'l';
            Model_VerticesLength_Multiplier = 1;
            Model_VerticesX = 'g';
            Model_VerticesY = 'a';
            Model_VerticesZ = 'x';

               NpcDefinition_id                                  =   'u';
        NpcDefinition_level                               =   'j';

    {*NpcDefinition Multipliers*}
        NpcDefinition_id_Multiplier                       =   -515724329;
        NpcDefinition_level_Multiplier                    =   590573207;

          Actor_interacting                                 =   'an';
              Actor_interacting_Multiplier                      =   538168375;

                Widget_getText                                    =   'bi';

        {* Node - 3 Hooks *}
        Node = 'gw';
            Node_Next = 'el';
            Node_Previous = 'eg';
            Node_UID = 'dj';

        {* NPC - 1 Hooks *}
        NPC = 'aa';
            NPC_Definition = 'y';

        {* NPCDefinition - 2 Hooks *}
        NPCDefinition = 'ag';
            NPCDefinition_Actions = 'i';
            NPCDefinition_Name = 'g';

        {* ObjectDefinition - 2 Hooks *}
        ObjectDefinition = 'ax';
            ObjectDefinition_Actions = 'aq';
            ObjectDefinition_Name = 'f';

        {* Player - 2 Hooks *}
        Player = 'k';
            Player_Model = 'o';
            Player_Name = 'y';

        {* Queue - 1 Hooks *}
        Queue = 'fh';
            Queue_Head = 'y';

        {* Region - 2 Hooks *}
        Region = 'ch';
            Region_SceneObjects = 'r';
            Region_SceneTiles = 'g';

        {* Renderable - 1 Hooks *}
        Renderable = 'bx';
            Renderable_Height = 'ch';
            Renderable_Height_Multiplier = 1402043673;

        {* WorldObject - 12 Hooks *}
        WorldObject = 'cg';
            WorldObject_Flags = 'p';
            WorldObject_Flags_Multiplier = 393169573;
            WorldObject_Hash = 'o';
            WorldObject_Hash_Multiplier = -21271879;
            WorldObject_OffsetX = 'x';
            WorldObject_OffsetX_Multiplier = -1588899007;
            WorldObject_OffsetY = 'w';
            WorldObject_OffsetY_Multiplier = -2043804879;
            WorldObject_Orientation = 'g';
            WorldObject_Orientation_Multiplier = -1453061613;
            WorldObject_Plane = 'y';
            WorldObject_Plane_Multiplier = -1717297035;
            WorldObject_RelativeX = 'a';
            WorldObject_RelativeX_Multiplier = -728627441;
            WorldObject_RelativeY = 'r';
            WorldObject_RelativeY_Multiplier = -1348670663;
            WorldObject_Renderable = 'l';
            WorldObject_Get_X = 'k';
            WorldObject_Get_X_Multiplier = -646487517;
            WorldObject_Get_Y = 'v';
            WorldObject_Get_Y_Multiplier = -1750598391;
            WorldObject_Height = 'u';
            WorldObject_Height_Multiplier = -280590169;

        {* Stream - 2 Hooks *}
        Stream = 'do';
            Stream_Offset = 'u';
            Stream_Offset_Multiplier = -1798397783;
            Stream_Payload = 'y';

        {* StringStorage - 0 Hooks *}
        StringStorage = 'ea';

        {* SceneTile - 8 Hooks *}
        SceneTile = 'cj';
            SceneTile_BoundaryObject = 'a';
            SceneTile_FloorDecorationObject = 'r';
            SceneTile_ItemLayer = 'w';
            SceneTile_Plane = 'v';
            SceneTile_Plane_Multiplier = -2059823675;
            SceneTile_WorldObjects = 'f';
            SceneTile_WallObject = 'x';
            SceneTile_X = 'u';
            SceneTile_X_Multiplier = 337201943;
            SceneTile_Y = 'k';
            SceneTile_Y_Multiplier = -977894799;

        {* WallObject - 11 Hooks *}
        WallObject = 'cs';
            WallObject_BackupRenderable = 'r';
            WallObject_Flags = 'c';
            WallObject_Flags_Multiplier = -1188332199;
            WallObject_Height = 'l';
            WallObject_Height_Multiplier = -526074127;
            WallObject_Hash = 'w';
            WallObject_Hash_Multiplier = 2123129033;
            WallObject_Orientation = 'v';
            WallObject_Orientation_Multiplier = 1590020931;
            WallObject_Plane = 'y';
            WallObject_Plane_Multiplier = 976837181;
            WallObject_RelativeX = 'g';
            WallObject_RelativeX_Multiplier = -1417347255;
            WallObject_RelativeY = 'a';
            WallObject_RelativeY_Multiplier = -2079324505;
            WallObject_Renderable = 'x';
            WallObject_X = 'u';
            WallObject_X_Multiplier = -603169993;
            WallObject_Y = 'k';
            WallObject_Y_Multiplier = -1149723161;

        {* Widget - 22 Hooks *}
        Widget = 'ee';
            Widget_Actions = 'bk';
            Widget_ActionType = 'm';
            Widget_ActionType_Multiplier = 639658035;
            Widget_BoundsIndex = 'dr';
            Widget_BoundsIndex_Multiplier = 1921174117;
            Widget_Children = 'dz';
            Widget_ContentIDs = 'dv';
            Widget_Height = 'h';
            Widget_Height_Multiplier = 23827733;
            Widget_ID = 'q';
            Widget_ID_Multiplier = -2071686887;
            Widget_Index = 'n';
            Widget_Index_Multiplier = 277826827;
            Widget_Name = 'be';
            Widget_Opcodes = 'dk';
            Widget_Parent = 'bg';
            Widget_ParentID = 'p';
            Widget_ParentID_Multiplier = 1568667015;
            Widget_RelativeX = 'y';
            Widget_RelativeX_Multiplier = 934982983;
            Widget_RelativeY = 'b';
            Widget_RelativeY_Multiplier = -839109755;
            Widget_ScrollX = 'z';
            Widget_ScrollX_Multiplier = 1125536823;
            Widget_ScrollY = 'e';
            Widget_ScrollY_Multiplier = -297447859;
            Widget_StackSizes = 'dg';
            Widget_Text = 'ba';
            Widget_Type = 's';
            Widget_Type_Multiplier = -1142912813;
            Widget_Width = 'i';
            Widget_Width_Multiplier = 1320459303;
            Widget_X = 'j';
            Widget_X_Multiplier = -79782867;
            Widget_Y = 'x';

       Widget_getItems                                   =   'ds';
       Widget_getStackSizes                              =   'da';
       Widget_getID                                      =   'i';
       Widget_Y_Multiplier = -395318811;

    Should work i think. (some stuff is outdated because fish didn't posted the updated stuff.
    edit: messed up simba tags -.- if it throws error such as 'unknown identifier' just re-name it i guess :|. Hopefully hooks get updated fully =).
    Quit gaming

  7. #257
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Quote Originally Posted by samerdl View Post
    Simba Code:
    [code]
    { 187 Hooks Found By Cheddys Beautiful Updater }

    const
    ReflectionRevision = '49';


        {* BoundaryObject - 9 Hooks *}
        BoundaryObject = 'cl';
            BoundaryObject_AlternativeOrientation = 'l';
            BoundaryObject_AlternativeOrientation_Multiplier = 1389124145;
            BoundaryObject_BackupRenderable = 'a';
            BoundaryObject_Flags = 'r';
            BoundaryObject_Flags_Multiplier = -621404059;
            BoundaryObject_Hash = 'x';
            BoundaryObject_Hash_Multiplier = 174051663;
            BoundaryObject_Orientation = 'v';
            BoundaryObject_Orientation_Multiplier = 695777807;
            BoundaryObject_Plane = 'y';
            BoundaryObject_Plane_Multiplier = -1114608285;
            BoundaryObject_Renderable = 'g';
            BoundaryObject_Get_X = 'u';
            BoundaryObject_Get_X_Multiplier = 1452391039;
            BoundaryObject_Get_Y = 'k';
            BoundaryObject_Get_Y_Multiplier = -949838095;

        {* Cache - 3 Hooks *}
        Cache = 'fx';
            Cache_CacheableNode = 'y';
            Cache_HashTable = 'v';
            Cache_Queue = 'l';

        {* CacheableNode - 2 Hooks *}
        CacheableNode = 'ft';
            CacheableNode_Next = 'cr';
            CacheableNode_Previous = 'cl';

        {* Canvas - 1 Hooks *}
        Canvas = 'dc';
            Canvas_Component = 'u';

        {* Actor - 18 Hooks *}
        Actor = 'ai';
            Actor_Animation = 'an';
            Actor_Animation_Multiplier = -772673237;
            Actor_CombatCycle = 'ae';
            Actor_CombatCycle_Multiplier = 738616745;
            Actor_Health = 'at';
            Actor_Health_Multiplier = 664073677;
            Actor_HitCycles = 'ap';
            Actor_HitDamages = 'ac';
            Actor_HitTypes = 'aj';
            Actor_InteractingIndex = 'aw';
            Actor_InteractingIndex_Multiplier = 974088395;
            Actor_MaxHealth = 'as';
            Actor_MaxHealth_Multiplier = 1495817743;
            Actor_Orientation = 'bi';
            Actor_Orientation_Multiplier = -692156845;
            Actor_ActiveText = 'ai';
            Actor_PositionOffset = 'd';
            Actor_PositionOffset_Multiplier = 1931324096;
            Actor_PathLength = 'bk';
            Actor_PathLength_Multiplier = 1333577889;
            Actor_PathTraversed = 'bj';
            Actor_PathX = 'bg';
            Actor_PathY = 'bs';
            Actor_LocalX = 'b';
            Actor_LocalX_Multiplier = -115581019;
            Actor_LocalY = 'i';
            Actor_LocalY_Multiplier = 1862326073;
            Actor_isInSequence = 'ab';

        {* ClassData - 3 Hooks *}
        ClassData = 'gn';
            ClassData_Bytes = 'x';
            ClassData_Fields = 'l';
            ClassData_Methods = 'a';

        {* Client - 46 Hooks *}
        Client = 'client';
            Client_BaseX = 'ae.co';
            Client_BaseX_Multiplier = -75820169;
            Client_BaseY = 'ak.cv';
            Client_BaseY_Multiplier = 1363071411;
            Client_CameraPitch = 'ct.fy';
            Client_CameraPitch_Multiplier = 978451045;
            Client_CameraX = 'w.fv';
            Client_CameraX_Multiplier = 579382229;
            Client_CameraY = 'cp.fw';
            Client_CameraY_Multiplier = 201905125;
            Client_CameraYaw = 'br.fk';
            Client_CameraYaw_Multiplier = 875492681;
            Client_CameraZ = 'i.fl';
            Client_CameraZ_Multiplier = 282686931;
            Client_CollisionMaps = 'client.w';
            Client_Levels = 'client.hz';
            Client_Run_Energy = 'client.jt';
            Client_Run_Energy_Multiplier = -1148693389;
            Client_Experiences = 'client.hv';
            Client_LoopCycle = 'client.j';
            Client_LoopCycle_Multiplier = -1554219467;
            Client_GroundItems = 'client.hp';
            Client_NPCs = 'client.bj';
            Client_Player = 'cg.hb';
            Client_Players = 'client.gq';
            Client_Login_State = 'al.ah';
            Client_Login_State_Multiplier = 1080992083;
            Client_CompassAngle = 'client.fd';
            Client_CompassAngle_Multiplier = 188773915;
            Client_Map_Offset = 'client.dj';
            Client_Map_Offset_Multiplier = 100607273;
            Client_Map_Scale = 'client.dl';
            Client_Map_Scale_Multiplier = 275005369;
            Client_Real_Levels = 'client.hq';
            Client_MenuActions = 'client.iu';
            Client_MenuCount = 'client.ii';
            Client_MenuCount_Multiplier = -779437725;
            Client_MenuHeight = 'br.io';
            Client_MenuHeight_Multiplier = -834841965;
            Client_MenuOptions = 'client.iv';
            Client_MenuWidth = 'cg.iy';
            Client_MenuWidth_Multiplier = -1155881505;
            Client_MenuX = 'aa.ht';
            Client_MenuX_Multiplier = 1487758909;
            Client_MenuY = 'm.hg';
            Client_MenuY_Multiplier = -329146929;
            Client_MouseX = 'dr.g';
            Client_MouseX_Multiplier = -476633551;
            Client_MouseY = 'dr.a';
            Client_MouseY_Multiplier = 1607741335;
            Client_NPCIndices = 'client.bx';
            Client_Password = 'al.ax';
            Client_Plane = 'v.hd';
            Client_Plane_Multiplier = -946619189;
            Client_Settings = 'et.u';
            Client_Region = 'k.dg';
            Client_GroundHeights = 'g.y';
            Client_GroundSettings = 'g.u';
            Client_Username = 'al.ag';
            Client_Weight = 'client.jn';
            Client_Weight_Multiplier = -2075744581;
            Client_WidgetHeights = 'client.lm';
            Client_WidgetPositionsX = 'client.lr';
            Client_WidgetPositionsY = 'client.lp';
            Client_Widgets = 'ee.u';
            Client_WidgetSettings = 'et.k';
            Client_WidgetWidths = 'client.ll';
            Client_isMenuOpen = 'client.hy';

        {* CollisionMap - 5 Hooks *}
        CollisionMap = 'gx';
            CollisionMap_Flags = 'aa';
            CollisionMap_Height = 'av';
            CollisionMap_Height_Multiplier = 519861409;
            CollisionMap_OffsetX = 'al';
            CollisionMap_OffsetX_Multiplier = 571754825;
            CollisionMap_OffsetY = 'aq';
            CollisionMap_OffsetY_Multiplier = 44134315;
            CollisionMap_Width = 'e';
            CollisionMap_Width_Multiplier = 1360578593;

        {* FloorDecorationObject - 6 Hooks *}
        FloorDecorationObject = 'ct';
            FloorDecorationObject_Flags = 'g';
            FloorDecorationObject_Flags_Multiplier = -380911001;
            FloorDecorationObject_Hash = 'l';
            FloorDecorationObject_Hash_Multiplier = 197400825;
            FloorDecorationObject_Plane = 'y';
            FloorDecorationObject_Plane_Multiplier = 554106865;
            FloorDecorationObject_Renderable = 'v';
            FloorDecorationObject_Get_X = 'u';
            FloorDecorationObject_Get_X_Multiplier = 149257185;
            FloorDecorationObject_Get_Y = 'k';
            FloorDecorationObject_Get_Y_Multiplier = 1639278273;

        {* HashTable - 1 Hooks *}
        HashTable = 'fr';
            HashTable_Nodes = 'u';

        {* Item - 2 Hooks *}
        Item = 'z';
            Item_ID = 'y';
            Item_ID_Multiplier = 320823979;
            Item_StackSize = 'u';
            Item_StackSize_Multiplier = 1770558897;

        {* ItemDefinition - 9 Hooks *}
        ItemDefinition = 'aw';
            ItemDefinition_GroundActions = 'd';
            ItemDefinition_ModelColours = 'c';
            ItemDefinition_ModelSizeX = 'ae';
            ItemDefinition_ModelSizeX_Multiplier = -1056598195;
            ItemDefinition_ModelSizeY = 'at';
            ItemDefinition_ModelSizeY_Multiplier = 1855279859;
            ItemDefinition_ModelSizeZ = 'as';
            ItemDefinition_ModelSizeZ_Multiplier = 855806131;
            ItemDefinition_Name = 'w';
            ItemDefinition_NewModelColours = 'f';
            ItemDefinition_InventoryActions = 'z';
            ItemDefinition_isMembers = 'q';

        {* ItemLayer - 0 Hooks *}
        ItemLayer = 'cw';

        {* LinkedList - 2 Hooks *}
        LinkedList = 'fn';
            LinkedList_Head = 'y';
            LinkedList_Tail = 'u';

        {* Model - 11 Hooks *}
        Model = 'cz';
            Model_IndicesLength = 'r';
            Model_IndicesLength_Multiplier = 1;
            Model_IndicesX = 'w';
            Model_IndicesY = 'c';
            Model_IndicesZ = 'f';
            Model_TexturedIndicesX = 'o';
            Model_TexturedIndicesY = 'p';
            Model_TexturedIndicesZ = 'n';
            Model_VerticesLength = 'l';
            Model_VerticesLength_Multiplier = 1;
            Model_VerticesX = 'g';
            Model_VerticesY = 'a';
            Model_VerticesZ = 'x';

               NpcDefinition_id                                  =   'u';
        NpcDefinition_level                               =   'j';

    {*NpcDefinition Multipliers*}
        NpcDefinition_id_Multiplier                       =   -515724329;
        NpcDefinition_level_Multiplier                    =   590573207;

          Actor_interacting                                 =   'an';
              Actor_interacting_Multiplier                      =   538168375;

                Widget_getText                                    =   'bi';

        {* Node - 3 Hooks *}
        Node = 'gw';
            Node_Next = 'el';
            Node_Previous = 'eg';
            Node_UID = 'dj';

        {* NPC - 1 Hooks *}
        NPC = 'aa';
            NPC_Definition = 'y';

        {* NPCDefinition - 2 Hooks *}
        NPCDefinition = 'ag';
            NPCDefinition_Actions = 'i';
            NPCDefinition_Name = 'g';

        {* ObjectDefinition - 2 Hooks *}
        ObjectDefinition = 'ax';
            ObjectDefinition_Actions = 'aq';
            ObjectDefinition_Name = 'f';

        {* Player - 2 Hooks *}
        Player = 'k';
            Player_Model = 'o';
            Player_Name = 'y';

        {* Queue - 1 Hooks *}
        Queue = 'fh';
            Queue_Head = 'y';

        {* Region - 2 Hooks *}
        Region = 'ch';
            Region_SceneObjects = 'r';
            Region_SceneTiles = 'g';

        {* Renderable - 1 Hooks *}
        Renderable = 'bx';
            Renderable_Height = 'ch';
            Renderable_Height_Multiplier = 1402043673;

        {* WorldObject - 12 Hooks *}
        WorldObject = 'cg';
            WorldObject_Flags = 'p';
            WorldObject_Flags_Multiplier = 393169573;
            WorldObject_Hash = 'o';
            WorldObject_Hash_Multiplier = -21271879;
            WorldObject_OffsetX = 'x';
            WorldObject_OffsetX_Multiplier = -1588899007;
            WorldObject_OffsetY = 'w';
            WorldObject_OffsetY_Multiplier = -2043804879;
            WorldObject_Orientation = 'g';
            WorldObject_Orientation_Multiplier = -1453061613;
            WorldObject_Plane = 'y';
            WorldObject_Plane_Multiplier = -1717297035;
            WorldObject_RelativeX = 'a';
            WorldObject_RelativeX_Multiplier = -728627441;
            WorldObject_RelativeY = 'r';
            WorldObject_RelativeY_Multiplier = -1348670663;
            WorldObject_Renderable = 'l';
            WorldObject_Get_X = 'k';
            WorldObject_Get_X_Multiplier = -646487517;
            WorldObject_Get_Y = 'v';
            WorldObject_Get_Y_Multiplier = -1750598391;
            WorldObject_Height = 'u';
            WorldObject_Height_Multiplier = -280590169;

        {* Stream - 2 Hooks *}
        Stream = 'do';
            Stream_Offset = 'u';
            Stream_Offset_Multiplier = -1798397783;
            Stream_Payload = 'y';

        {* StringStorage - 0 Hooks *}
        StringStorage = 'ea';

        {* SceneTile - 8 Hooks *}
        SceneTile = 'cj';
            SceneTile_BoundaryObject = 'a';
            SceneTile_FloorDecorationObject = 'r';
            SceneTile_ItemLayer = 'w';
            SceneTile_Plane = 'v';
            SceneTile_Plane_Multiplier = -2059823675;
            SceneTile_WorldObjects = 'f';
            SceneTile_WallObject = 'x';
            SceneTile_X = 'u';
            SceneTile_X_Multiplier = 337201943;
            SceneTile_Y = 'k';
            SceneTile_Y_Multiplier = -977894799;

        {* WallObject - 11 Hooks *}
        WallObject = 'cs';
            WallObject_BackupRenderable = 'r';
            WallObject_Flags = 'c';
            WallObject_Flags_Multiplier = -1188332199;
            WallObject_Height = 'l';
            WallObject_Height_Multiplier = -526074127;
            WallObject_Hash = 'w';
            WallObject_Hash_Multiplier = 2123129033;
            WallObject_Orientation = 'v';
            WallObject_Orientation_Multiplier = 1590020931;
            WallObject_Plane = 'y';
            WallObject_Plane_Multiplier = 976837181;
            WallObject_RelativeX = 'g';
            WallObject_RelativeX_Multiplier = -1417347255;
            WallObject_RelativeY = 'a';
            WallObject_RelativeY_Multiplier = -2079324505;
            WallObject_Renderable = 'x';
            WallObject_X = 'u';
            WallObject_X_Multiplier = -603169993;
            WallObject_Y = 'k';
            WallObject_Y_Multiplier = -1149723161;

        {* Widget - 22 Hooks *}
        Widget = 'ee';
            Widget_Actions = 'bk';
            Widget_ActionType = 'm';
            Widget_ActionType_Multiplier = 639658035;
            Widget_BoundsIndex = 'dr';
            Widget_BoundsIndex_Multiplier = 1921174117;
            Widget_Children = 'dz';
            Widget_ContentIDs = 'dv';
            Widget_Height = 'h';
            Widget_Height_Multiplier = 23827733;
            Widget_ID = 'q';
            Widget_ID_Multiplier = -2071686887;
            Widget_Index = 'n';
            Widget_Index_Multiplier = 277826827;
            Widget_Name = 'be';
            Widget_Opcodes = 'dk';
            Widget_Parent = 'bg';
            Widget_ParentID = 'p';
            Widget_ParentID_Multiplier = 1568667015;
            Widget_RelativeX = 'y';
            Widget_RelativeX_Multiplier = 934982983;
            Widget_RelativeY = 'b';
            Widget_RelativeY_Multiplier = -839109755;
            Widget_ScrollX = 'z';
            Widget_ScrollX_Multiplier = 1125536823;
            Widget_ScrollY = 'e';
            Widget_ScrollY_Multiplier = -297447859;
            Widget_StackSizes = 'dg';
            Widget_Text = 'ba';
            Widget_Type = 's';
            Widget_Type_Multiplier = -1142912813;
            Widget_Width = 'i';
            Widget_Width_Multiplier = 1320459303;
            Widget_X = 'j';
            Widget_X_Multiplier = -79782867;
            Widget_Y = 'x';

       Widget_getItems                                   =   'ds';
       Widget_getStackSizes                              =   'da';
       Widget_getID                                      =   'i';
       Widget_Y_Multiplier = -395318811;

    Should work i think. (some stuff is outdated because fish didn't posted the updated stuff.
    edit: messed up simba tags -.- if it throws error such as 'unknown identifier' just re-name it i guess :|. Hopefully hooks get updated fully =).
    This is working great, but when I first loaded it it gave me an out of range error anytime i used R_TileToMSEx. to fix I just made the entire function a try function so if anything goes wrong the script will just continue.

    Simba Code:
    function R_TileToMSEx(X, Y, Height: Extended): TPoint;
    var
      Z, CurveX, CurveY, CurveCosX, CurveCosY, CurveSinX, CurveSinY, TempCalculation: Extended;
      CalculatedScreenPosX, CalculatedScreenPosY: Integer;
    begin
      try
      begin
      if (X < 128) or (Y < 128) or (X > 13056) or (Y > 13056) then begin
        Result := Point(-1, -1);
        Exit;
      end;
      Z := -Height;
      X := X - R_GetCameraX;
      Y := Y - R_GetCameraY;
      Z := Z - R_GetCameraZ;
      CurveX := R_GetCameraYaw;
      CurveY := R_GetCameraPitch;
      CurveCosX := CURVECOS[Floor(CurveX)];
      CurveCosY := CURVECOS[Floor(CurveY)];
      CurveSinX := CURVESIN[Floor(CurveX)];
      CurveSinY := CURVESIN[Floor(CurveY)];
      TempCalculation := ashr(Round((CurveCosX * X) + (Y * CurveSinX)), 16);
      Y := ashr(Round((Y * CurveCosX) - (X * CurveSinX)), 16);
      X := Round(TempCalculation);
      TempCalculation := ashr(Round((Z * CurveCosY) - (Y * CurveSinY)), 16);
      Y := ashr(Round((Z * CurveSinY) - ((-CurveCosY) * Y)), 16);
      Z := Round(TempCalculation);
      if (Y < 50) then begin
        Result := Point(-1, -1);
        Exit;
      end else begin
        CalculatedScreenPosX := Round((((Floor(X) shl 9) / Y)));
        IncEx(CalculatedScreenPosX, 256);
        CalculatedScreenPosY := Round((((Floor(Z) shl 9) / Y)));
        IncEx(CalculatedScreenPosY, 167);
        Result := Point(CalculatedScreenPosX, CalculatedScreenPosY);
      end;
      end;
      except
      end;
    end;

  8. #258
    Join Date
    Dec 2008
    Posts
    135
    Mentioned
    0 Post(s)
    Quoted
    44 Post(s)

    Default

    hmmm, is declarplayer messedup? my scripts compiles but does nothing, just goes straight to successfully executed

  9. #259
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    This is working great, but when I first loaded it it gave me an out of range error anytime i used R_TileToMSEx. to fix I just made the entire function a try function so if anything goes wrong the script will just continue.

    Simba Code:
    function R_TileToMSEx(X, Y, Height: Extended): TPoint;
    var
      Z, CurveX, CurveY, CurveCosX, CurveCosY, CurveSinX, CurveSinY, TempCalculation: Extended;
      CalculatedScreenPosX, CalculatedScreenPosY: Integer;
    begin
      try
      begin
      if (X < 128) or (Y < 128) or (X > 13056) or (Y > 13056) then begin
        Result := Point(-1, -1);
        Exit;
      end;
      Z := -Height;
      X := X - R_GetCameraX;
      Y := Y - R_GetCameraY;
      Z := Z - R_GetCameraZ;
      CurveX := R_GetCameraYaw;
      CurveY := R_GetCameraPitch;
      CurveCosX := CURVECOS[Floor(CurveX)];
      CurveCosY := CURVECOS[Floor(CurveY)];
      CurveSinX := CURVESIN[Floor(CurveX)];
      CurveSinY := CURVESIN[Floor(CurveY)];
      TempCalculation := ashr(Round((CurveCosX * X) + (Y * CurveSinX)), 16);
      Y := ashr(Round((Y * CurveCosX) - (X * CurveSinX)), 16);
      X := Round(TempCalculation);
      TempCalculation := ashr(Round((Z * CurveCosY) - (Y * CurveSinY)), 16);
      Y := ashr(Round((Z * CurveSinY) - ((-CurveCosY) * Y)), 16);
      Z := Round(TempCalculation);
      if (Y < 50) then begin
        Result := Point(-1, -1);
        Exit;
      end else begin
        CalculatedScreenPosX := Round((((Floor(X) shl 9) / Y)));
        IncEx(CalculatedScreenPosX, 256);
        CalculatedScreenPosY := Round((((Floor(Z) shl 9) / Y)));
        IncEx(CalculatedScreenPosY, 167);
        Result := Point(CalculatedScreenPosX, CalculatedScreenPosY);
      end;
      end;
      except
      end;
    end;
    If you don't call SetupReflection, you get an out of range error in that function.
    There used to be something meaningful here.

  10. #260
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    If you don't call SetupReflection, you get an out of range error in that function.
    Make the include require Lape!!

  11. #261
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    If you don't call SetupReflection, you get an out of range error in that function.
    Oh wow thanks. what happened was I commented out lots of setupreflection because it was terminating my script by saying the include was out of date. turns out all that needed to be removed was the HooksValid piece.

    now we're rolling again

    Progress Report:
     *****Nebula Law-Crafter*****
    Running For: 3 Minutes and 27 Seconds
    Exp Gained: 513
    Exp Per Hour: 8921
    laws crafted: 54
    Laws per hour: 939
    *************************

  12. #262
    Join Date
    Jun 2007
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    I changed the hooks file to what is above. And i'm still getting this:
    Code:
    Reflection Hooks are outdated
    No need to post about it, we are currently working on it. ~ Reflection dev's
    Am i missing a step?

  13. #263
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Quote Originally Posted by jman1208 View Post
    I changed the hooks file to what is above. And i'm still getting this:
    Code:
    Reflection Hooks are outdated
    No need to post about it, we are currently working on it. ~ Reflection dev's
    Am i missing a step?
    I pretty much posted the solution in my last post.

    in the function SetupReflection, put brackets around all of this:

    Simba Code:
    {if HooksValid then
      begin
        R_SetupRandoms;
        R_SetupCurves;
        Writeln('Reflection succesfully setup!');
      end else
        TerminateScript;}

  14. #264
    Join Date
    Mar 2012
    Posts
    201
    Mentioned
    8 Post(s)
    Quoted
    74 Post(s)

    Default

    Just a slight issue I seem to be having with the include:
    Simba Code:
    if ((R_GetLoginState < 10) or (R_GetLoginState > 30)) then

    The login state is always less than 10 I believe

    I believe you have got game state confused with login state. Game state goes between 10 and 30; login state only goes between 0 and 5

  15. #265
    Join Date
    Jun 2007
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    I pretty much posted the solution in my last post.

    in the function SetupReflection, put brackets around all of this:

    Simba Code:
    {if HooksValid then
      begin
        R_SetupRandoms;
        R_SetupCurves;
        Writeln('Reflection succesfully setup!');
      end else
        TerminateScript;}
    Thank you sir! Sorry for the wasted post . Time to finish up my plank maker

  16. #266
    Join Date
    Mar 2012
    Posts
    201
    Mentioned
    8 Post(s)
    Quoted
    74 Post(s)

    Default

    Here's a few new functions I believe should work, there is no TRecord for player yet so can't do playerIsMoving

    Simba Code:
    (*
    R_MyPlayerIsMoving
    ~~~~~~~~~~~

    .. code-block:: pascal

        function R_MyPlayerIsMoving(): Boolean;

    Returns whether the users player is moving or not.

    .. note::

      by Cheddy

    *)

    function R_MyPlayerIsMoving(): Boolean;
    var
    playerObj: integer;
    begin
      playerObj := SmartGetFieldObject(SmartCurrentTarget, 0, Client_Player);
      Result := (SmartGetFieldInt(SmartCurrentTarget, playerObj, Actor_PathLength) * Actor_PathLength_Multiplier) > 0;
      SmartFreeObject(SmartCurrentTarget, playerObj);
    end;



    (*
    R_NPCIsMoving
    ~~~~~~~~~~~

    .. code-block:: pascal

        function R_NPCIsMoving(npc : TNPC): Boolean;

    Returns whether the NPC is moving or not.

    .. note::

      by Cheddy

    *)

    function R_NPCIsMoving(npc : TNPC): Boolean;
    var
    npcObj: integer;
    begin
      npcObj := SmartGetFieldArrayObject(SmartCurrentTarget, 0, Client_NPCs, npc.index);
      Result := ((SmartGetFieldInt(SmartCurrentTarget, npcObj, Actor_PathLength) * Actor_PathLength_Multiplier)) > 0;
      SmartFreeObject(SmartCurrentTarget, npcObj);
    end;

  17. #267
    Join Date
    Mar 2012
    Posts
    201
    Mentioned
    8 Post(s)
    Quoted
    74 Post(s)

    Default

    Quote Originally Posted by jman1208 View Post
    Thank you sir! Sorry for the wasted post . Time to finish up my plank maker
    Not a good idea. If you don't setup the the curves you can't do world to screen
    The hooks valid function won't work until fixed anyways at the minute

    These hooks work fine for me with no compile errors (altered some of the naming top match Simba convention)
    Simba Code:
    { 189 Hooks Found By Cheddys Beautiful Updater }

    const
    ReflectionRevision = '49';


        {* BoundaryObject - 9 Hooks *}
        BoundaryObject = 'cl';
            BoundaryObject_AlternativeOrientation = 'l';
            BoundaryObject_AlternativeOrientation_Multiplier = 1389124145;
            BoundaryObject_BackupRenderable = 'a';
            BoundaryObject_Flags = 'r';
            BoundaryObject_Flags_Multiplier = -621404059;
            BoundaryObject_Hash = 'x';
            BoundaryObject_Hash_Multiplier = 174051663;
            BoundaryObject_Orientation = 'v';
            BoundaryObject_Orientation_Multiplier = 695777807;
            BoundaryObject_Plane = 'y';
            BoundaryObject_Plane_Multiplier = -1114608285;
            BoundaryObject_Renderable = 'g';
            BoundaryObject_Get_X = 'u';
            BoundaryObject_Get_X_Multiplier = 1452391039;
            BoundaryObject_Get_Y = 'k';
            BoundaryObject_Get_Y_Multiplier = -949838095;

        {* Cache - 3 Hooks *}
        Cache = 'fx';
            Cache_CacheableNode = 'y';
            Cache_HashTable = 'v';
            Cache_Queue = 'l';

        {* CacheableNode - 2 Hooks *}
        CacheableNode = 'ft';
            CacheableNode_Next = 'cr';
            CacheableNode_Previous = 'cl';

        {* Canvas - 1 Hooks *}
        Canvas = 'dc';
            Canvas_Component = 'u';

        {* Actor - 18 Hooks *}
        Actor = 'ai';
            Actor_Animation = 'an';
            Actor_Animation_Multiplier = -772673237;
            Actor_CombatCycle = 'ae';
            Actor_CombatCycle_Multiplier = 738616745;
            Actor_Health = 'at';
            Actor_Health_Multiplier = 664073677;
            Actor_HitCycles = 'ap';
            Actor_HitDamages = 'ac';
            Actor_HitTypes = 'aj';
            Actor_Interacting = 'aw';
            Actor_Interacting_Multiplier = 974088395;
            Actor_MaxHealth = 'as';
            Actor_MaxHealth_Multiplier = 1495817743;
            Actor_Orientation = 'bi';
            Actor_Orientation_Multiplier = -692156845;
            Actor_ActiveText = 'ai';
            Actor_PositionOffset = 'd';
            Actor_PositionOffset_Multiplier = 1931324096;
            Actor_PathLength = 'bk';
            Actor_PathLength_Multiplier = 1333577889;
            Actor_PathTraversed = 'bj';
            Actor_PathX = 'bg';
            Actor_PathY = 'bs';
            Actor_LocalX = 'b';
            Actor_LocalX_Multiplier = -115581019;
            Actor_LocalY = 'i';
            Actor_LocalY_Multiplier = 1862326073;
            Actor_isInSequence = 'ab';

        {* ClassData - 3 Hooks *}
        ClassData = 'gn';
            ClassData_Bytes = 'x';
            ClassData_Fields = 'l';
            ClassData_Methods = 'a';

        {* Client - 46 Hooks *}
        Client = 'client';
            Client_BaseX = 'ae.co';
            Client_BaseX_Multiplier = -75820169;
            Client_BaseY = 'ak.cv';
            Client_BaseY_Multiplier = 1363071411;
            Client_CameraPitch = 'ct.fy';
            Client_CameraPitch_Multiplier = 978451045;
            Client_CameraX = 'w.fv';
            Client_CameraX_Multiplier = 579382229;
            Client_CameraY = 'cp.fw';
            Client_CameraY_Multiplier = 201905125;
            Client_CameraYaw = 'br.fk';
            Client_CameraYaw_Multiplier = 875492681;
            Client_CameraZ = 'i.fl';
            Client_CameraZ_Multiplier = 282686931;
            Client_CollisionMaps = 'client.w';
            Client_Levels = 'client.hz';
            Client_Run_Energy = 'client.jt';
            Client_Run_Energy_Multiplier = -1148693389;
            Client_Experiences = 'client.hv';
            Client_LoopCycle = 'client.j';
            Client_LoopCycle_Multiplier = -1554219467;
            Client_GroundItems = 'client.hp';
            Client_NPCs = 'client.bj';
            Client_Player = 'cg.hb';
            Client_Players = 'client.gq';
            Client_Login_State = 'al.ah';
            Client_Login_State_Multiplier = 1080992083;
            Client_CompassAngle = 'client.fd';
            Client_CompassAngle_Multiplier = 188773915;
            Client_Map_Offset = 'client.dj';
            Client_Map_Offset_Multiplier = 100607273;
            Client_Map_Scale = 'client.dl';
            Client_Map_Scale_Multiplier = 275005369;
            Client_Real_Levels = 'client.hq';
            Client_MenuActions = 'client.iu';
            Client_MenuCount = 'client.ii';
            Client_MenuCount_Multiplier = -779437725;
            Client_MenuHeight = 'br.io';
            Client_MenuHeight_Multiplier = -834841965;
            Client_MenuOptions = 'client.iv';
            Client_MenuWidth = 'cg.iy';
            Client_MenuWidth_Multiplier = -1155881505;
            Client_MenuX = 'aa.ht';
            Client_MenuX_Multiplier = 1487758909;
            Client_MenuY = 'm.hg';
            Client_MenuY_Multiplier = -329146929;
            Client_ReflectionMouseX = 'dr.g';
            Client_ReflectionMouseX_Multiplier = -476633551;
            Client_ReflectionMouseY = 'dr.a';
            Client_ReflectionMouseY_Multiplier = 1607741335;
            Client_NPCIndices = 'client.bx';
            Client_Password = 'al.ax';
            Client_Plane = 'v.hd';
            Client_Plane_Multiplier = -946619189;
            Client_Settings = 'et.u';
            Client_Region = 'k.dg';
            Client_GroundHeights = 'g.y';
            Client_GroundSettings = 'g.u';
            Client_Username = 'al.ag';
            Client_Weight = 'client.jn';
            Client_Weight_Multiplier = -2075744581;
            Client_WidgetHeights = 'client.lm';
            Client_WidgetPositionsX = 'client.lr';
            Client_WidgetPositionsY = 'client.lp';
            Client_Widgets = 'ee.u';
            Client_WidgetSettings = 'et.k';
            Client_WidgetWidths = 'client.ll';
            Client_isMenuOpen = 'client.hy';

        {* CollisionMap - 5 Hooks *}
        CollisionMap = 'gx';
            CollisionMap_Flags = 'aa';
            CollisionMap_Height = 'av';
            CollisionMap_Height_Multiplier = 519861409;
            CollisionMap_OffsetX = 'al';
            CollisionMap_OffsetX_Multiplier = 571754825;
            CollisionMap_OffsetY = 'aq';
            CollisionMap_OffsetY_Multiplier = 44134315;
            CollisionMap_Width = 'e';
            CollisionMap_Width_Multiplier = 1360578593;

        {* FloorDecorationObject - 6 Hooks *}
        FloorDecorationObject = 'ct';
            FloorDecorationObject_Flags = 'g';
            FloorDecorationObject_Flags_Multiplier = -380911001;
            FloorDecorationObject_Hash = 'l';
            FloorDecorationObject_Hash_Multiplier = 197400825;
            FloorDecorationObject_Plane = 'y';
            FloorDecorationObject_Plane_Multiplier = 554106865;
            FloorDecorationObject_Renderable = 'v';
            FloorDecorationObject_Get_X = 'u';
            FloorDecorationObject_Get_X_Multiplier = 149257185;
            FloorDecorationObject_Get_Y = 'k';
            FloorDecorationObject_Get_Y_Multiplier = 1639278273;

        {* HashTable - 1 Hooks *}
        HashTable = 'fr';
            HashTable_Nodes = 'u';

        {* Item - 2 Hooks *}
        Item = 'z';
            Item_ID = 'y';
            Item_ID_Multiplier = 320823979;
            Item_StackSize = 'u';
            Item_StackSize_Multiplier = 1770558897;

        {* ItemDefinition - 9 Hooks *}
        ItemDefinition = 'aw';
            ItemDefinition_GroundActions = 'd';
            ItemDefinition_ModelColours = 'c';
            ItemDefinition_ModelSizeX = 'ae';
            ItemDefinition_ModelSizeX_Multiplier = -1056598195;
            ItemDefinition_ModelSizeY = 'at';
            ItemDefinition_ModelSizeY_Multiplier = 1855279859;
            ItemDefinition_ModelSizeZ = 'as';
            ItemDefinition_ModelSizeZ_Multiplier = 855806131;
            ItemDefinition_Name = 'w';
            ItemDefinition_NewModelColours = 'f';
            ItemDefinition_InventoryActions = 'z';
            ItemDefinition_isMembers = 'q';

        {* ItemLayer - 0 Hooks *}
        ItemLayer = 'cw';

        {* LinkedList - 2 Hooks *}
        LinkedList = 'fn';
            LinkedList_Head = 'y';
            LinkedList_Tail = 'u';

        {* Model - 11 Hooks *}
        Model = 'cz';
            Model_IndicesLength = 'r';
            Model_IndicesLength_Multiplier = 1;
            Model_IndicesX = 'w';
            Model_IndicesY = 'c';
            Model_IndicesZ = 'f';
            Model_TexturedIndicesX = 'o';
            Model_TexturedIndicesY = 'p';
            Model_TexturedIndicesZ = 'n';
            Model_VerticesLength = 'l';
            Model_VerticesLength_Multiplier = 1;
            Model_VerticesX = 'g';
            Model_VerticesY = 'a';
            Model_VerticesZ = 'x';

        {* ReflectionMouse - 0 Hooks *}
        ReflectionMouse = 'dr';

        {* Node - 3 Hooks *}
        Node = 'gw';
            Node_Next = 'el';
            Node_Previous = 'eg';
            Node_UID = 'dj';

        {* NPC - 1 Hooks *}
        NPC = 'aa';
            NPC_Definition = 'y';

        {* NPCDefinition - 4 Hooks *}
        NPCDefinition = 'ag';
            NPCDefinition_Actions = 'i';
            NPCDefinition_ID = 'l';
            NPCDefinition_ID_Multiplier = 1854256689;
            NPCDefinition_Level = 'q';
            NPCDefinition_Level_Multiplier = -2071384963;
            NPCDefinition_Name = 'g';

        {* ObjectDefinition - 2 Hooks *}
        ObjectDefinition = 'ax';
            ObjectDefinition_Actions = 'aq';
            ObjectDefinition_Name = 'f';

        {* Player - 2 Hooks *}
        Player = 'k';
            Player_Model = 'o';
            Player_Name = 'y';

        {* Queue - 1 Hooks *}
        Queue = 'fh';
            Queue_Head = 'y';

        {* Region - 2 Hooks *}
        Region = 'ch';
            Region_SceneObjects = 'r';
            Region_SceneTiles = 'g';

        {* Renderable - 1 Hooks *}
        Renderable = 'bx';
            Renderable_Height = 'ch';
            Renderable_Height_Multiplier = 1402043673;

        {* WorldObject - 12 Hooks *}
        WorldObject = 'cg';
            WorldObject_Flags = 'p';
            WorldObject_Flags_Multiplier = 393169573;
            WorldObject_Hash = 'o';
            WorldObject_Hash_Multiplier = -21271879;
            WorldObject_OffsetX = 'x';
            WorldObject_OffsetX_Multiplier = -1588899007;
            WorldObject_OffsetY = 'w';
            WorldObject_OffsetY_Multiplier = -2043804879;
            WorldObject_Orientation = 'g';
            WorldObject_Orientation_Multiplier = -1453061613;
            WorldObject_Plane = 'y';
            WorldObject_Plane_Multiplier = -1717297035;
            WorldObject_RelativeX = 'a';
            WorldObject_RelativeX_Multiplier = -728627441;
            WorldObject_RelativeY = 'r';
            WorldObject_RelativeY_Multiplier = -1348670663;
            WorldObject_Renderable = 'l';
            WorldObject_Get_X = 'k';
            WorldObject_Get_X_Multiplier = -646487517;
            WorldObject_Get_Y = 'v';
            WorldObject_Get_Y_Multiplier = -1750598391;
            WorldObject_Height = 'u';
            WorldObject_Height_Multiplier = -280590169;

        {* Stream - 2 Hooks *}
        Stream = 'do';
            Stream_Offset = 'u';
            Stream_Offset_Multiplier = -1798397783;
            Stream_Payload = 'y';

        {* StringStorage - 0 Hooks *}
        StringStorage = 'ea';

        {* SceneTile - 8 Hooks *}
        SceneTile = 'cj';
            SceneTile_BoundaryObject = 'a';
            SceneTile_FloorDecorationObject = 'r';
            SceneTile_ItemLayer = 'w';
            SceneTile_Plane = 'v';
            SceneTile_Plane_Multiplier = -2059823675;
            SceneTile_WorldObjects = 'f';
            SceneTile_WallObject = 'x';
            SceneTile_X = 'u';
            SceneTile_X_Multiplier = 337201943;
            SceneTile_Y = 'k';
            SceneTile_Y_Multiplier = -977894799;

        {* WallObject - 11 Hooks *}
        WallObject = 'cs';
            WallObject_BackupRenderable = 'r';
            WallObject_Flags = 'c';
            WallObject_Flags_Multiplier = -1188332199;
            WallObject_Height = 'l';
            WallObject_Height_Multiplier = -526074127;
            WallObject_Hash = 'w';
            WallObject_Hash_Multiplier = 2123129033;
            WallObject_Orientation = 'v';
            WallObject_Orientation_Multiplier = 1590020931;
            WallObject_Plane = 'y';
            WallObject_Plane_Multiplier = 976837181;
            WallObject_RelativeX = 'g';
            WallObject_RelativeX_Multiplier = -1417347255;
            WallObject_RelativeY = 'a';
            WallObject_RelativeY_Multiplier = -2079324505;
            WallObject_Renderable = 'x';
            WallObject_X = 'u';
            WallObject_X_Multiplier = -603169993;
            WallObject_Y = 'k';
            WallObject_Y_Multiplier = -1149723161;

        {* Widget - 22 Hooks *}
        Widget = 'ee';
            Widget_Actions = 'bk';
            Widget_ActionType = 'm';
            Widget_ActionType_Multiplier = 639658035;
            Widget_BoundsIndex = 'dr';
            Widget_BoundsIndex_Multiplier = 1921174117;
            Widget_Children = 'dz';
            Widget_GetItems = 'dv';
            Widget_Height = 'h';
            Widget_Height_Multiplier = 23827733;
            Widget_GetID = 'q';
            Widget_GetID_Multiplier = -2071686887;
            Widget_Index = 'n';
            Widget_Index_Multiplier = 277826827;
            Widget_Name = 'be';
            Widget_Opcodes = 'dk';
            Widget_Parent = 'bg';
            Widget_ParentID = 'p';
            Widget_ParentID_Multiplier = 1568667015;
            Widget_RelativeX = 'y';
            Widget_RelativeX_Multiplier = 934982983;
            Widget_RelativeY = 'b';
            Widget_RelativeY_Multiplier = -839109755;
            Widget_ScrollX = 'z';
            Widget_ScrollX_Multiplier = 1125536823;
            Widget_ScrollY = 'e';
            Widget_ScrollY_Multiplier = -297447859;
            Widget_GetStackSizes = 'dg';
            Widget_Text = 'ba';
            Widget_Type = 's';
            Widget_Type_Multiplier = -1142912813;
            Widget_Width = 'i';
            Widget_Width_Multiplier = 1320459303;
            Widget_X = 'j';
            Widget_X_Multiplier = -79782867;
            Widget_Y = 'x';
            Widget_Y_Multiplier = -395318811;

  18. #268
    Join Date
    Dec 2008
    Posts
    135
    Mentioned
    0 Post(s)
    Quoted
    44 Post(s)

    Default

    so why not just make hook valid always return true?

    edit: is there a function for telling whether or not your character is talking to an npc?
    Last edited by Grunt; 05-27-2014 at 11:46 PM.

  19. #269
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by Grunt View Post
    so why not just make hook valid always return true?

    edit: is there a function for telling whether or not your character is talking to an npc?
    R_InteractingNPC
    There used to be something meaningful here.

  20. #270
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    R_InteractingNPC
    this function doesn't work actually.

    just use AreTalking. it's not reflection but it works.

  21. #271
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    this function doesn't work actually.

    just use AreTalking. it's not reflection but it works.
    And why is that?
    There used to be something meaningful here.

  22. #272
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    And why is that?
    it just doesn't work, lol. I've tried using it before and I just tried using it now to verify. it doesnt work .

  23. #273
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by Nebula View Post
    it just doesn't work, lol. I've tried using it before and I just tried using it now to verify. it doesnt work .
    Yeah, good explanation, you provided so much information I can tell you how to fix your problem very easily.
    There used to be something meaningful here.

  24. #274
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    Yeah, good explanation, you provided so much information I can tell you how to fix your problem very easily.
    writeln(R_InteractingNPC) doesn't return a npc when you call it while talking to a npc.

  25. #275
    Join Date
    Feb 2006
    Location
    Australia
    Posts
    628
    Mentioned
    15 Post(s)
    Quoted
    105 Post(s)

    Default

    I just want to say Fish, you spend more time posting in this thread than trying to talk to me about getting your hooks implemented.
    I tried @ 3 different times in the last 24 hours talking to you about it and I see you're on here posting instead?
    We already have R_IsWalking function which works fine.
    I did not choose the hook names Fish, nobody here would choose these names, we left them like this b/c we were pulling hooks from another client. Unfortunately the include has become a little bloated with hooks since then and we can no-longer use those old client hooks for a quick-update.

    R_Interacting is not broken.. From knowledge, all npc functions break when the npc Index hook is wrong. This ties into naming for some wierd reason, there is a hook called NpcIndicies which we use as the NPC Index hook (other clients call NpcIndicies something else). Anyway, if there's some kinda problem with the Npcs it's usually the Index hook "NpcIndicies"

Page 11 of 32 FirstFirst ... 91011121321 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •