Results 1 to 14 of 14

Thread: World Changing Issue

  1. #1
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default Questions

    @Kyle;

    There seems to be an error with world changing. It spams between the login screen and world select (moves/clicks too quickly)

    =D

    <------------------>



  2. #2
    Join Date
    Dec 2007
    Posts
    289
    Mentioned
    4 Post(s)
    Quoted
    86 Post(s)

    Default

    Just tested it. No issues here. Could you elaborate on the issue you're getting?

  3. #3
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Moved to the correct forum, changed title to actually be meaningful.

  4. #4
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    @Kyle;

    - The login widget seems to be broken "Click here to play" button.

    - Bankopen is also not working

    * i will make a github account in the future, so i can post issues there.

    <------------------>



  5. #5
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    There was an update today, I'm not sure if the new hooks were pushed yet.

  6. #6
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    Quote Originally Posted by tls View Post
    There was an update today, I'm not sure if the new hooks were pushed yet.
    Code:
    const
        ReflectionRevision = '139';
    {Node: dt}
     Node_Prev: THook =                  ['ca', 1];
     Node_UID: THook =                   ['cp', 1];
     Node_Next: THook =                  ['ch', 1];
    
    {Cacheable: dm}
    
    {Renderable: cp}
     Renderable_ModelHeight: THook =     ['ci', 1451218177];
    
    {Animable: ay}
    
    {Model: ce}
    
    {AnimationSequence: gl}
    
    {NpcDefinition: gv}
     NpcDefinition_Actions: THook =      ['g', 1];
     NpcDefinition_Name: THook =         ['o', 1];
     NpcDefinition_ID: THook =           ['r', -1699993407];
     NpcDefinition_CombatLevel: THook =  ['k', -8084963];
    
    {linkedList: df}
     linkedList_Head: THook =            ['f', 1];
     linkedList_Current: THook =         ['i', 1];
    
    {Actor: an}
     Actor_QueueX: THook =               ['cg', 1];
     Actor_QueueY: THook =               ['ck', 1];
     Actor_QueueSize: THook =            ['ce', 806891155];
     Actor_WorldX: THook =               ['aq', 783134109];
     Actor_WorldY: THook =               ['ah', 768382907];
     Actor_Animation: THook =            ['bv', 1829271211];
     Actor_SpokenText: THook =           ['NULL', 1];
     Actor_CombatCycle: THook =          ['NULL', 1];
     Actor_Health: THook =               ['NULL', 1];
     Actor_MaxHealth: THook =            ['NULL', 1];
     Actor_InteractingIndex: THook =     ['bj', 2123306939];
    
    {Npc: ak}
     Npc_Definition: THook =             ['f', 1];
    
    {ObjectDefinition: gn}
     ObjectDefinition_Actions: THook =   ['aq', 1];
     ObjectDefinition_Name: THook =      ['s', 1];
    
    {Buffer: eo}
    
    {Widget: fr}
     Widget_Children: THook =            ['ep', 1];
     Widget_WidgetID: THook =            ['q', 1105648983];
     Widget_AbsoluteX: THook =           ['e', 32969317];
     Widget_AbsoluteY: THook =           ['am', 1866323755];
     Widget_Width: THook =               ['an', 1418050783];
     Widget_Height: THook =              ['aq', 1611670685];
     Widget_ParentID: THook =            ['ab', -2113065027];
     Widget_IsHidden: THook =            ['aw', 1];
     Widget_RelativeX: THook =           ['ax', -1876592497];
     Widget_RelativeY: THook =           ['ar', -674149223];
     Widget_TextureID: THook =           ['al', -1501289091];
     Widget_Text: THook =                ['bi', 1];
     Widget_Name: THook =                ['cn', 1];
     Widget_Parent: THook =              ['cf', 1];
     Widget_ItemID: THook =              ['ei', 970253531];
     Widget_ItemAmount: THook =          ['eq', -1780905385];
     Widget_BoundsIndex: THook =         ['es', -1584003037];
     Widget_ScrollX: THook =             ['ax', -1876592497];
     Widget_ScrollY: THook =             ['ar', -674149223];
     Widget_InvIDs: THook =              ['eg', 1];
     Widget_StackSizes: THook =          ['el', 1];
    
    {WidgetNode: v}
     WidgetNode_Id: THook =              ['f', -619636463];
    
    {HashTable: di}
     HashTable_Buckets: THook =          ['i', 1];
     HashTable_Size: THook =             ['f', 1];
     HashTable_Index: THook =            ['r', 1];
    
    {GameShell: dn}
    
    {Player: t}
     Player_Name: THook =                ['f', 1];
     Player_Definition: THook =          ['i', 1];
     Player_CombatLevel: THook =         ['l', 827713609];
    
    {Client: client}
     Client_LoopCycle: THook =           ['client.b', 457131395];
     Client_Widgets: THook =             ['NULL.NULL', 1];
     Client_MenuOptions: THook =         ['client.ii', 1];
     Client_MenuActions: THook =         ['client.ip', 1];
     Client_IsMenuOpen: THook =          ['client.ho', 1];
     Client_MenuX: THook =               ['ah.hc', 900995253];
     Client_MenuY: THook =               ['dd.hf', -851603971];
     Client_MenuWidth: THook =           ['fr.ht', -837668091];
     Client_MenuHeight: THook =          ['cz.hh', 1054569237];
     Client_MenuCount: THook =           ['client.hb', 1158941057];
     Client_LocalPlayers: THook =        ['client.gs', 1];
     Client_Region: THook =              ['aq.dx', 1];
     Client_Plane: THook =               ['gl.gq', -114464503];
     Client_DestinationY: THook =        ['client.mn', -112984337];
     Client_DestinationX: THook =        ['client.mh', -1993813105];
     Client_LocalPlayer: THook =         ['av.hl', 1];
     Client_GameSettings: THook =        ['fy.i', 1];
     Client_BaseX: THook =               ['dv.da', -1847911375];
     Client_BaseY: THook =               ['ga.dk', -1161741379];
     Client_CurrentLevels: THook =       ['client.hv', 1];
     Client_RealLevels: THook =          ['client.he', 1];
     Client_Experiences: THook =         ['client.hu', 1];
     Client_Weight: THook =              ['client.jo', -1007821423];
     Client_Energy: THook =              ['client.ja', -1306245129];
     Client_CurrentWorld: THook =        ['client.h', -1067657463];
     Client_WidgetNodeCache: THook =     ['client.jv', 1];
     Client_TileSettings: THook =        ['j.i', 1];
     Client_TileHeights: THook =         ['j.f', 1];
     Client_LocalNpcs: THook =           ['client.cx', 1];
     Client_NpcIndices: THook =          ['client.ce', 1];
     Client_CrossHairColor: THook =      ['client.ge', 1];
     Client_MapOffset: THook =           ['client.fl', 359771951];
     Client_MapAngle: THook =            ['client.el', 137059557];
     Client_MapScale: THook =            ['client.eq', -314507465];
     Client_CameraPitch: THook =         ['a.ff', 1179277671];
     Client_Sine: THook =                ['ck.t', 1];
     Client_CameraYaw: THook =           ['w.fu', 1855052975];
     Client_Cosine: THook =              ['ck.c', 1];
     Client_CameraZ: THook =             ['a.fm', 16996971];
     Client_CameraX: THook =             ['b.fa', -303716585];
     Client_CameraY: THook =             ['ct.fd', 1593397603];
     Client_GroundItems: THook =         ['client.hm', 1];
     Client_LoginState: THook =          ['client.z', 319171149];
     Client_PlayerIndex: THook =         ['client.hg', 1873552489];
     Client_WidgetPositionX: THook =     ['client.lj', 1];
     Client_WidgetPositionY: THook =     ['client.lf', 1];
     Client_WidgetWidths: THook =        ['client.lh', 1];
     Client_WidgetHeights: THook =       ['client.ll', 1];
    
    {Region: cf}
     Region_SceneTiles: THook =          ['o', 1];
    
    {BoundaryObject: ch}
     BoundaryObject_ID: THook =          ['n', -1883861491];
     BoundaryObject_Flags: THook =       ['m', -938804493];
     BoundaryObject_LocalX: THook =      ['i', -1727123557];
     BoundaryObject_LocalY: THook =      ['u', -1892917663];
     BoundaryObject_Plane: THook =       ['f', 47385849];
     BoundaryObject_Render: THook =      ['o', 1];
     BoundaryObject_Render2: THook =     ['l', 1];
     BoundaryObject_Orientation: THook = ['h', -834189223];
     BoundaryObject_Height: THook =      ['r', -791089787];
    
    {GameObject: cb}
     GameObject_ID: THook =              ['q', 482653527];
     GameObject_Flags: THook =           ['d', 380351625];
     GameObject_Plane: THook =           ['f', -405243927];
     GameObject_WorldX: THook =          ['u', 1619610445];
     GameObject_WorldY: THook =          ['h', 679097371];
     GameObject_Height: THook =          ['i', 1330566451];
     GameObject_Render: THook =          ['r', 1];
     GameObject_Orientation: THook =     ['o', 1467927381];
     GameObject_LocalX: THook =          ['l', 1914941195];
     GameObject_LocalY: THook =          ['m', 462527967];
     GameObject_OffsetX: THook =         ['n', -734534917];
     GameObject_OffsetY: THook =         ['w', 1756737629];
    
    {FloorDecoration: cl}
     FloorDecoration_Render: THook =     ['h', 1];
     FloorDecoration_LocalX: THook =     ['i', -29389011];
     FloorDecoration_LocalY: THook =     ['u', 1516225475];
     FloorDecoration_Plane: THook =      ['f', 1199754801];
     FloorDecoration_ID: THook =         ['r', 1894624443];
     FloorDecoration_Flags: THook =      ['o', -514910083];
    
    {WallDecoration: ct}
     WallDecoration_ID: THook =          ['w', 684256359];
     WallDecoration_Flags: THook =       ['j', 1801639019];
     WallDecoration_LocalX: THook =      ['i', -2005549679];
     WallDecoration_LocalY: THook =      ['u', 1629402503];
     WallDecoration_Plane: THook =       ['f', -732384697];
     WallDecoration_Renderable: THook =  ['n', 1];
     WallDecoration_Renderable2: THook = ['m', 1];
     WallDecoration_Orientation: THook = ['h', 329587197];
     WallDecoration_Height: THook =      ['r', -1369922143];
     WallDecoration_RelativeX: THook =   ['o', 1744251775];
     WallDecoration_RelativeY: THook =   ['l', -138161305];
    
    {SceneTile: cv}
     SceneTile_GameObject: THook =       ['s', 1];
     SceneTile_BoundaryObject: THook =   ['l', 1];
     SceneTile_WallDecoration: THook =   ['n', 1];
     SceneTile_GroundDecoration: THook = ['m', 1];
    
    {Item: ao}
     Item_StackSizes: THook =            ['f', -789244747];
     Item_ID: THook =                    ['i', -1669115529];
    Some of the widgets don't work

    <------------------>



  7. #7
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default .Getname

    The TReflectGroundItem.GetName function always returns ToolBox;



    I have been scratching my head as to why i couldn't use list for picking up items; until i printed the output.



    I thought of a work around; using iD's but then you cannot have the correct uptext.

    @Kyle;

    <------------------>



  8. #8
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default The code

    The code i am trying to get fucntioning



    Code:
    procedure loot;
    var
      i, j, me_indice: integer;
      _gItems: TReflectGroundItemArray;
      gItems: tstringarray;
       s : string;
       InInv: TReflectInvItem;
    begin
    
    gItems := ['big bones','bones'];   
    
      _gItems.GetAll(20);
      for i := 0 to high(_gItems) do
        begin
          for j := 0 to high(gItems) do
          begin
            if (pos(gItems[j], lowercase(_gItems[i].getName)) > 0) then
            begin
                begin
                 Mouse.Move(_gItems[i].GetMSPoint, 2, 2);
                  Wait(50);
                  Mouse.Click(Mouse_Right);
                  Wait(50);
                   Reflect.Text.ChooseOption('Take');
                   end
                  waitMove(3000);
              end;
            end;
          end;
    end;
    Code:
    writeln('Picked up: ' + _gItems[i].getname);
    returns ToolBox mostly.

    <------------------>



  9. #9
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    every ground item ID is between 1-4 >.<

    <------------------>



  10. #10
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    Quote Originally Posted by AFools View Post
    every ground item ID is between 1-4 >.<
    ID and quantity are switched that's why
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  11. #11
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    Quote Originally Posted by Kyle View Post
    ID and quantity are switched that's why
    Please explain? I initially thought you were talking about hooks.

    I am stumped.

    **edit** i shall try this now
    Code:
     Item_StackSizes: THook =            ['f', -789244747];
     Item_ID: THook =                    ['i', -1669115529];
    ???

    <------------------>



  12. #12
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    Perfect! =d

    <------------------>



  13. #13
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    I am building a solid script at the moment; but lets say i require to know the health of a NPC,

    example Gaygoyles and the rock hammer to finish them.
    @Kyle; Can the health hooks be fixed?
    @Flight; There is no way to do this the Aerolib include?

    <------------------>



  14. #14
    Join Date
    Dec 2011
    Posts
    193
    Mentioned
    5 Post(s)
    Quoted
    51 Post(s)

    Default

    Quote Originally Posted by AFools View Post
    I am building a solid script at the moment; but lets say i require to know the health of a NPC
    I've tried many various methods of doing this, only using color. Looking for HP bars isn't good because even when restricting to an area around the player there's always false positive matches when others have a fight very close to your player, if not on the same tile.

    Best one I've tried and the one I'm currently using is recording the xp bar when starting a fight then tracking the opponents health via exp gained. So long as you now the health of the NPC being fought you can calculate how much exp a full kill is, or for Gargs, how much minimum exp needs to be gained before it can be hammered.

    OSRS Color Scripts: Borland_Salamanders | Borland_Iron_Ores
    Utilities & Snippets: [Color] OSBuddy Item Looting

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
  •