SRL Archive - Reflection Help

Latest hooks, not working.


Tickyy

2010-08-30 05:39:10

Well, even after i've replaced these hooks a hundred times :p, and still get that stupid Hooks are outdated thingie. Well, i thought if anybody could help me ?

tico2

2010-08-30 06:38:35

Hmmmm… I had the same problem some time ago but I can't remember how I fixed it :p

Have you tried my hooks and are you fully up to dote? Which script are you using?

Tickyy

2010-08-30 10:05:02

From: tico2
Hmmmm… I had the same problem some time ago but I can't remember how I fixed it :p

Have you tried my hooks and are you fully up to dote? Which script are you using?


a personal script, which worked before, now it doesn't :(.

Narcle

2010-08-30 10:50:59

Only half of the hooks have been updated last I looked. Before I would get the rest from RSBots hook file that was online. I don't know if at their new site they have one up (powerbot iirc). If someone can find an alternative place for hooks then I'll be able to hopefully completely update them again.

TRiLeZ

2010-08-30 12:04:01

The RSBot hooks file is here: http://updater.powerbot.org/info.dat

Tickyy

2010-08-30 13:45:31

Narcle, Please make some magic :redface:.

Narcle

2010-08-30 18:52:32

Thx Trilez for link.

This is what I got so far, I'll test it and get it committed hopefully tonight.

Hook Ninja:
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_GetSkillLevels = 'bl.f';
hook_static_GetSkillExperiences = 'uj.j';
hook_static_GroundTiles = 'ks.b';
hook_static_ValidInterfaces = 'lh.e';
hook_static_GetSettings = 'tc.m';
hook_static_GroundItemCache = 'sg.E';
hook_static_GetInterfaces = 'ak.K';
hook_static_CamPosX = 'ok.a';
hook_static_CamPosY = 'ms.B';
hook_ground_AnimableList = 'd';
hook_AnimableNode_GetAnimable = 'e';
hook_AnimableNode_GetNext = 'd';
hook_ground_WallObject1 = 'q';
hook_ground_WallObject2 = 'i';
hook_ground_WallDecoration1 = 'c';
hook_ground_WallDecoration2 = 'l';
hook_ground_FloorDecoration = 'o';
hook_interface_GetText = 'Z';
hook_interface_GetTextureID = 'wc';
hook_interface_GetTextColor = 'J';
hook_interface_GetModelID = 'nc';
hook_interface_GetModelZoom = 'T';
hook_interface_GetActions = 'Ab';
hook_interface_GetName = 'tc';
hook_interface_GetChildren = 'E';
hook_interface_GetID = 'Zb';
hook_interface_GetStack = 'Cb';
hook_settingarray_GetData = 'm';
hook_nodecache_GetNodes = 'o';
hook_nodelistcache_GetNodeList = 'g';
hook_npcdef_GetID = 'X';
Successfully executed.

Tickyy

2010-09-01 06:19:25

Narcle, how is it going, you've done more than that?

Tickyy

2010-09-01 16:43:37

Soz for double post, but the hooks are finally working, a bit of narcles and a bit from other shiz here it is:


{**
* Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of the SMART Minimizing Autoing Resource Thing (SMART)
*
* SMART is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SMART is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SMART. If not, see <http://www.gnu.org/licenses/>.
*}

const
ClientVersion = 616;

{Static Hooks}
hook_static_LoginIndex = 've.i';
hook_static_MyPlayer = 'naa.p';
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_NPCIndexArray = 'ln.v';
hook_static_NPCNodes = 'd.e';
hook_static_NPCCount = 'rv.m';
hook_static_GroundSettingsArray = 'kg.p'; //couldn't find this hook (kg.p) anywhere in #614..
hook_static_LoadedPlane = 'dr.f';
hook_static_PlaneArray = 'fda.b';
hook_static_Toolkit = 'js.j';
hook_static_MapAngle = 'ql.wb';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_MenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_LoopCycle = 'mga.b';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndexArray = 'kba.m';
hook_static_GetPlayers = 'wk.k';
hook_static_GetSkillLevels = 'dr.e'; //couldn't find this hook (dr.e) anywhere in #614..
hook_static_GetSkillExperiences = 'dw.Q'; //couldn't find this hook (dw.Q) anywhere in #614..
hook_static_GroundTiles = 'ks.b';
hook_static_GetInterfaces = 'ak.K';
hook_static_ValidInterfaces = 'lh.e';
hook_static_GetSettings = 'tc.m';
hook_static_GroundItemCache = 'tj.C'; //couldn't find this hook (tj.C) anywhere in #614..
hook_static_CamPosX = 'pi.c'; //couldn't find this hook (pi.c) anywhere in #614..
hook_static_CamPosY = 'ir.J'; //couldn't find this hook (ir.J) anywhere in #614..

{Class Animable}
class_Animable = 'wda';
hook_animable_PixelX = 's';
hook_animable_PixelY = 'l';
hook_animable_Plane = 'k';

{Class Player}
class_Player = 'pp';
hook_player_GetLevel = 'kd'; //not updated
hook_player_GetName = 'Cc';
hook_player_PlayerDef = 'pd'; //not updated

{Class Character}
class_Character = 'va';
hook_character_GetHitDamges = 'Yb'; //not updated
hook_character_Animation = 'ib';
hook_character_Motion = 'mc';
hook_character_WalkQueueX = 'rc'; //in #614 (of Simba's reflection), these were flip-flopped, so I'm not sure if reflection is set up correctly with these hooks..
hook_character_WalkQueueY = 'uc';
hook_character_GetHeight = 'tb';
hook_character_LoopCycleStatus = 'V';
hook_character_HPRatio = 'O';
hook_character_GetInteracting = 'ac';
hook_character_Orientation = 'Ib'; //not updated

{Class NPC}
class_NPC = 'ac';
hook_npc_NPCDef = 'Gc';

{Class NPCDef}
class_NPCDef = 'ql';
hook_npcdef_GetActions = 'Ab';
hook_npcdef_GetName = 'ob';
hook_npcdef_GetLevel = 'K';
hook_npcdef_GetID = 'X';

{Class NPCNode}
class_NPCNode = 'nca';
hook_npcnode_GetNPC = 'h';

{Class GroundTile}
class_GroundTile = 'qs';

{Class Plane}
class_Plane = 'd';

{Class RSInteractable}
class_RSInteractable = 'gfa'; //not updated

{Class Toolkit}
class_Toolkit = 'oa'; //not updated

{Class Viewport}
class_Viewport = 'q'; //not updated

{Class SDViewport}
class_SDViewport = 'cr';
hook_sdviewport_xOff = 'r';
hook_sdviewport_xX = 'h';
hook_sdviewport_xY = 'm';
hook_sdviewport_xZ = 'n';
hook_sdviewport_yOff = 'i';
hook_sdviewport_yX = 'k';
hook_sdviewport_yY = 's';
hook_sdviewport_yZ = 'j';
hook_sdviewport_zOff = 'q';
hook_sdviewport_zX = 'p';
hook_sdviewport_zY = 'l';
hook_sdviewport_zZ = 'o';

{Class SDToolkit}
class_SDToolkit = 'lea';
hook_sdtoolkit_xMin = 'I';
hook_sdtoolkit_xMax = 'J';
hook_sdtoolkit_yMin = 'z';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'M';
hook_sdtoolkit_zMax = 'R';
hook_sdtoolkit_xScale = 'B';
hook_sdtoolkit_yScale = 'Y';
hook_sdtoolkit_Viewport = 'O';

{Class SDPlane}
class_SDPlane = 'gu';
hook_sdplane_TileHeights = 'A';

{Class NodeList}
class_NodeList = 'ws';
hook_nodelist_Current = 'f'; //not updated
hook_nodelist_Head = 'e';

{Class Node}
class_Node = 'kd';
hook_node_Next = 'd';
hook_node_Previous = 'c';
hook_node_GetID = 'e';

{Class Menu}
class_Menu = 'ts';
hook_menu_Action = 'p';
hook_menu_Option = 'j';

{Class PlayerDef}
class_PlayerDef = 'n'; //couldn't find class
hook_playerdef_GetEquipment = 't'; //couldn't find this hook (n.t) anywhere in #614..

{Class AnimableNode}
class_AnimableNode = 'qe';
hook_AnimableNode_GetAnimable = 'e';
hook_AnimableNode_GetNext = 'd';

{Class ObjectInterface}
class_ObjectInterface = 'rr';
hook_interface_GetActions = 'Pc';
hook_interface_GetX = 'e';
hook_interface_GetY = 'Ab';
hook_interface_GetWidth = 'ed';
hook_interface_GetHeight = 'kb';
hook_interface_GetText = 'Z';
hook_interface_GetTextureID = 'wc';
hook_interface_GetTextColor = 'J';
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'Uc'; //not updated
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'E';
hook_interface_GetID = 'Zb';
hook_interface_GetStack = 'Cb';

{Class Ground}
class_Ground = 'qs';
hook_ground_AnimableList = 'd';
hook_ground_WallObject1 = 'y'; //not updated
hook_ground_WallObject2 = 'p'; //not updated
hook_ground_WallDecoration1 = 'c'; //not updated
hook_ground_WallDecoration2 = 'd'; //not updated
hook_ground_FloorDecoration = 'w'; //not updated

//GroundItem crap.
//nodecache class hd
hook_nodecache_GetNodes = 'hd.o';

//RSItem class bt
hook_item_GetID = 'bt.j';
hook_item_GetStack = 'p'; //not updated

//nodelistcache class wc
hook_nodelistcache_GetNodeList = 'wc.g';

//Settings Array
hook_settingarray_GetData = 'h'; //not updated

{
/////////////// HOOKS BELOW HERE ARE *OUTDATED* AS OF 14 July 2010 (Client 614) ////////////////////////
These hooks all need to be added to the updater.
}

//Some work actually. You're welcome. Updated as much as I could. (Thanks to TRiLeZ.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'fi';
hook_interactiveobject_GetID = 'X';

{Class InteractiveObject2}
class_InteractiveObject2 = 'dt';
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'kd'; //not updated

//WallObjectData class wda
hook_wallobjectdata_GetID = 'x'; //not updated
hook_wallobjectdata_GetID2 = 'D.H'; //not updated

//WallDecorationData class ew
hook_WallDecorationData_GetID = 'w'; //not updated
hook_WallDecorationData_GetID2 = 'y.H'; //not updated

//FloorDecorationData class rv
hook_FloorDecorationData_GetID = 'z'; //not updated
hook_FloorDecorationData_GetID2 = 'm.H'; //not updated

Narcle

2010-09-01 16:58:34

Sorry Tickyy been out of the house. When I have some time I'll be adding more to my hook ninja script.

Tickyy

2010-09-01 17:13:20

From: Narcle
Sorry Tickyy been out of the house. When I have some time I'll be adding more to my hook ninja script.


Well, all i wanted that it works, walks and finds npc, thats all i need, thank you :D.

Claymore

2010-09-02 22:24:07

Thank you :D

i luffs yeww

2010-09-03 00:49:22

I don't think he updated anything, from what you posted.. :p What you posted is what I did, which is just converting TRiBot's hook updater to work with Simba's reflection.

lordsaturn

2010-09-03 01:00:13

rsbot:
client #616

CLASS: RSObject - qo
CLASS: RSCharacter - wv
CLASS: RSItem - bt
CLASS: Settings - fw
CLASS: NodeListCache - wc
CLASS: RSItemDef - oi
CLASS: TileData - d
CLASS: RSGroundData - ld
CLASS: MRUNodes - hm
CLASS: RSInteractable - nt
CLASS: ChatLine - oca
CLASS: Node - kd
CLASS: StatusNode - gga
CLASS: RSItemDefFactory - tr
CLASS: Client - client
CLASS: StatusNodeList - ca
CLASS: RSInterfaceNode - cd
CLASS: RSObject - ow
CLASS: NodeList - ws
CLASS: RSInterface - rr
CLASS: Model - ba
CLASS: NodeSub - fu
CLASS: RSPlayer - pp
CLASS: RenderData - q
CLASS: RSAnimableNode - qe
CLASS: NodeSubList - kp
CLASS: RSObject - ko
CLASS: Signlink - qj
CLASS: RSObject - fo
CLASS: ActionDataNode - ts
CLASS: DetailInfo - ur
CLASS: RSNPC - ac
CLASS: RSObject - md
CLASS: RSObject - kga
CLASS: RSObject - fi
CLASS: RSGround - qs
CLASS: RSObject - raa
CLASS: Stream - ji
CLASS: RSObject - am
CLASS: RSAnimable - wda
CLASS: HDModel - og
CLASS: RSObject - aga
CLASS: Render - oa
CLASS: LDModel - sfa
CLASS: RSObject - nea
CLASS: RSInteractableDef - ww
CLASS: RSObjectDef - pg
CLASS: RSNPCDef - ql
CLASS: NodeCache - hd
CLASS: HDModel - mo
CLASS: RSNPCNode - nca
CLASS: RSObject - ms
FIELD: [org.rsbot.accessors.RSCharacter, ] getMessage -> java.lang.String wv.dc
FIELD: [org.rsbot.accessors.RSCharacter, ] isMoving -> int wv.mc
FIELD: [org.rsbot.accessors.RSCharacter, ] getAnimation -> int wv.ib
FIELD: [org.rsbot.accessors.RSCharacter, ] getLocationY -> int[] wv.rc
FIELD: [org.rsbot.accessors.RSCharacter, ] getLocationX -> int[] wv.uc
FIELD: [org.rsbot.accessors.RSCharacter, ] getLoopCycleStatus -> int wv.V
FIELD: [org.rsbot.accessors.RSCharacter, ] getHPRatio -> int wv.O
FIELD: [org.rsbot.accessors.RSCharacter, ] getHeight -> int wv.tb
FIELD: [org.rsbot.accessors.RSCharacter, ] getInteracting -> int wv.ac
FIELD: [org.rsbot.accessors.RSItem, ] getID -> int bt.j
FIELD: [org.rsbot.accessors.RSItem, ] getStackSize -> int bt.h
FIELD: [ada, org.rsbot.accessors.Settings, ] getData -> int[] fw.e
FIELD: [org.rsbot.accessors.NodeListCache, ] getNodeList -> org.rsbot.accessors.NodeList wc.g
FIELD: [org.rsbot.accessors.RSItemDef, ] getName -> java.lang.String oi.ib
FIELD: [org.rsbot.accessors.RSItemDef, ] getGroundActions -> java.lang.String[] oi.ob
FIELD: [org.rsbot.accessors.RSItemDef, ] getID -> int oi.C
FIELD: [org.rsbot.accessors.RSItemDef, ] getFactory -> org.rsbot.accessors.RSItemDefFactory oi.n
FIELD: [org.rsbot.accessors.RSItemDef, ] getCertTemplateID -> int oi.Q
FIELD: [org.rsbot.accessors.RSItemDef, ] getCertID -> int oi.Q
FIELD: [org.rsbot.accessors.RSItemDef, ] isMembersObject -> boolean oi.o
FIELD: [org.rsbot.accessors.RSItemDef, ] getTeam -> int oi.eb
FIELD: [org.rsbot.accessors.RSItemDef, ] getActions -> java.lang.String[] oi.g
FIELD: [org.rsbot.accessors.RSGroundData, ] getBlocks -> int[][] ld.s
FIELD: [org.rsbot.accessors.MRUNodes, ] getList -> org.rsbot.accessors.NodeSubList hm.h
FIELD: [org.rsbot.accessors.MRUNodes, ] getInitialCount -> int hm.f
FIELD: [org.rsbot.accessors.MRUNodes, ] getSpaceLeft -> int hm.e
FIELD: [org.rsbot.accessors.MRUNodes, ] getNodeCache -> org.rsbot.accessors.NodeCache hm.a
FIELD: [] getRenderData -> org.rsbot.accessors.RenderData kea.Zd
FIELD: [org.rsbot.accessors.ChatLine, ] getName -> java.lang.String oca.g
FIELD: [org.rsbot.accessors.ChatLine, ] getMessage -> java.lang.String oca.h
FIELD: [org.rsbot.accessors.Node, ] getID -> long kd.e
FIELD: [org.rsbot.accessors.Node, ] getNext -> org.rsbot.accessors.Node kd.d
FIELD: [org.rsbot.accessors.Node, ] getPrevious -> org.rsbot.accessors.Node kd.c
FIELD: [org.rsbot.accessors.StatusNode, ] getNext -> org.rsbot.accessors.StatusNode gga.d
FIELD: [org.rsbot.accessors.StatusNode, ] getPrevious -> org.rsbot.accessors.StatusNode gga.a
FIELD: [org.rsbot.accessors.RSItemDefFactory, ] getMRUNodes -> org.rsbot.accessors.MRUNodes tr.k
FIELD: [org.rsbot.accessors.RSItemDefFactory, ] isMembers -> boolean tr.o
FIELD: [org.rsbot.accessors.StatusNodeList, ] getHead -> org.rsbot.accessors.StatusNode ca.k
FIELD: [org.rsbot.accessors.StatusNodeList, ] getNext -> org.rsbot.accessors.StatusNode ca.l
FIELD: [org.rsbot.accessors.RSInterfaceNode, ] getMainID -> int cd.i
FIELD: [org.rsbot.accessors.NodeList, ] getHead -> org.rsbot.accessors.Node ws.e
FIELD: [org.rsbot.accessors.NodeList, ] getCurrent -> org.rsbot.accessors.Node ws.j
FIELD: [org.rsbot.accessors.RSInterface, ] getMasterX -> int rr.masterX
FIELD: [org.rsbot.accessors.RSInterface, ] getMasterY -> int rr.masterY
FIELD: [org.rsbot.accessors.RSInterface, ] getComponents -> org.rsbot.accessors.RSInterface[] rr.E
FIELD: [org.rsbot.accessors.RSInterface, ] getType -> int rr.lb
FIELD: [org.rsbot.accessors.RSInterface, ] getSpecialType -> int rr.Tc
FIELD: [org.rsbot.accessors.RSInterface, ] getActions -> java.lang.String[] rr.Pb
FIELD: [org.rsbot.accessors.RSInterface, ] isInventoryInterface -> boolean rr.l
FIELD: [org.rsbot.accessors.RSInterface, ] getToolTip -> java.lang.String rr.r
FIELD: [org.rsbot.accessors.RSInterface, ] getX -> int rr.e
FIELD: [org.rsbot.accessors.RSInterface, ] getY -> int rr.Ab
FIELD: [org.rsbot.accessors.RSInterface, ] getWidth2 -> int rr.ed
FIELD: [org.rsbot.accessors.RSInterface, ] getHeight2 -> int rr.kb
FIELD: [org.rsbot.accessors.RSInterface, ] getBoundsArrayIndex -> int rr.w
FIELD: [org.rsbot.accessors.RSInterface, ] getBorderThickness -> int rr.b
FIELD: [org.rsbot.accessors.RSInterface, ] getXRotation -> int rr.Fc
FIELD: [org.rsbot.accessors.RSInterface, ] getComponentIndex -> int rr.fd
FIELD: [org.rsbot.accessors.RSInterface, ] getHeight -> int rr.Mb
FIELD: [org.rsbot.accessors.RSInterface, ] getHorizontalScrollBarSize -> int rr.G
FIELD: [org.rsbot.accessors.RSInterface, ] getHorizontalScrollBarThumbPosition -> int rr.Vc
FIELD: [org.rsbot.accessors.RSInterface, ] getHorizontalScrollBarThumbSize -> int rr.ed
FIELD: [org.rsbot.accessors.RSInterface, ] getID -> int rr.x
FIELD: [org.rsbot.accessors.RSInterface, ] isHorizontallyFlipped -> boolean rr.f
FIELD: [org.rsbot.accessors.RSInterface, ] isVerticallyFlipped -> boolean rr.m
FIELD: [org.rsbot.accessors.RSInterface, ] getComponentStackSize -> int rr.Cb
FIELD: [org.rsbot.accessors.RSInterface, ] getComponentID -> int rr.Zb
FIELD: [org.rsbot.accessors.RSInterface, ] getComponentName -> java.lang.String rr.tc
FIELD: [org.rsbot.accessors.RSInterface, ] getModelZoom -> int rr.T
FIELD: [org.rsbot.accessors.RSInterface, ] getModelID -> int rr.nc
FIELD: [org.rsbot.accessors.RSInterface, ] getModelType -> int rr.j
FIELD: [org.rsbot.accessors.RSInterface, ] getParentID -> int rr.P
FIELD: [org.rsbot.accessors.RSInterface, ] getSelectedActionName -> java.lang.String rr.Eb
FIELD: [org.rsbot.accessors.RSInterface, ] getShadowColor -> int rr.gc
FIELD: [org.rsbot.accessors.RSInterface, ] getText -> java.lang.String rr.Z
FIELD: [org.rsbot.accessors.RSInterface, ] getTextColor -> int rr.J
FIELD: [org.rsbot.accessors.RSInterface, ] getTextureID -> int rr.wc
FIELD: [org.rsbot.accessors.RSInterface, ] getVerticalScrollBarSize -> int rr.Bc
FIELD: [org.rsbot.accessors.RSInterface, ] getVerticalScrollBarPosition -> int rr.hb
FIELD: [org.rsbot.accessors.RSInterface, ] getVerticalScrollBarThumbSize -> int rr.kb
FIELD: [org.rsbot.accessors.RSInterface, ] getWidth -> int rr.bd
FIELD: [org.rsbot.accessors.RSInterface, ] getYRotation -> int rr.H
FIELD: [org.rsbot.accessors.RSInterface, ] getZRotation -> int rr.Lb
FIELD: [org.rsbot.accessors.RSPlayer, ] getTeam -> int pp.zc
FIELD: [org.rsbot.accessors.RSPlayer, ] getName -> java.lang.String pp.nd
FIELD: [org.rsbot.accessors.RSPlayer, ] getLevel -> int pp.Dc
FIELD: [org.rsbot.accessors.RSAnimableNode, ] getRSAnimable -> org.rsbot.accessors.RSAnimable qe.e
FIELD: [org.rsbot.accessors.RSAnimableNode, ] getNext -> org.rsbot.accessors.RSAnimableNode qe.d
FIELD: [java.lang.Runnable, org.rsbot.accessors.Signlink, ] getEventQueue -> java.awt.EventQueue qj.x
FIELD: [org.rsbot.accessors.ActionDataNode, ] getMenuOption -> java.lang.String ts.j
FIELD: [org.rsbot.accessors.ActionDataNode, ] getMenuAction -> java.lang.String ts.p
FIELD: [org.rsbot.accessors.RSNPC, ] getRSNPCDef -> org.rsbot.accessors.RSNPCDef ac.Gc
FIELD: [pba, org.rsbot.accessors.RSObject, ] getModel -> org.rsbot.accessors.Model kga.L
FIELD: [pba, org.rsbot.accessors.RSObject, ] getModel -> org.rsbot.accessors.Model fi.E
FIELD: [] getZOff -> float cr.q
FIELD: [] getZX -> float cr.p
FIELD: [] getZY -> float cr.l
FIELD: [] getZZ -> float cr.o
FIELD: [] getXOff -> float cr.r
FIELD: [] getXX -> float cr.h
FIELD: [] getXY -> float cr.m
FIELD: [] getXZ -> float cr.n
FIELD: [] getYOff -> float cr.i
FIELD: [] getYX -> float cr.k
FIELD: [] getYY -> float cr.s
FIELD: [] getYZ -> float cr.j
FIELD: [org.rsbot.accessors.RSGround, ] getX -> int qs.u
FIELD: [org.rsbot.accessors.RSGround, ] getY -> int qs.t
FIELD: [org.rsbot.accessors.RSGround, ] getPlane1 -> int qs.x
FIELD: [org.rsbot.accessors.RSGround, ] getPlane2 -> int qs.m
FIELD: [org.rsbot.accessors.RSGround, ] getRSAnimableList -> org.rsbot.accessors.RSAnimableNode qs.d
FIELD: [org.rsbot.accessors.RSGround, ] getRSObject3_0 -> org.rsbot.accessors.RSInteractable qs.c
FIELD: [org.rsbot.accessors.RSGround, ] getUnknownRSGround -> org.rsbot.accessors.RSGround qs.e
FIELD: [org.rsbot.accessors.RSGround, ] getRSObject2_0 -> org.rsbot.accessors.RSInteractable qs.i
FIELD: [org.rsbot.accessors.RSGround, ] getRSObject3_1 -> org.rsbot.accessors.RSInteractable qs.l
FIELD: [org.rsbot.accessors.RSGround, ] getRSObject1 -> org.rsbot.accessors.RSInteractable qs.o
FIELD: [org.rsbot.accessors.RSGround, ] getRSObject2_1 -> org.rsbot.accessors.RSInteractable qs.q
FIELD: [pba, org.rsbot.accessors.RSObject, ] getModel -> org.rsbot.accessors.Model raa.F
FIELD: [org.rsbot.accessors.Stream, ] getCurrentOffset -> int ji.ib
FIELD: [] getRenderData -> org.rsbot.accessors.RenderData lea.O
FIELD: [] getZNear -> int lea.M
FIELD: [] getZFar -> int lea.R
FIELD: [] getXMultiplier -> int lea.B
FIELD: [] getYMultiplier -> int lea.Y
FIELD: [] getAbsoluteX1 -> float lea.I
FIELD: [] getAbsoluteX2 -> float lea.J
FIELD: [] getAbsoluteY1 -> float lea.z
FIELD: [] getAbsoluteY2 -> float lea.G
FIELD: [] getRenderData -> org.rsbot.accessors.RenderData jaa.qg
FIELD: [org.rsbot.accessors.RSAnimable, ] getX1 -> short wda.r
FIELD: [org.rsbot.accessors.RSAnimable, ] getX2 -> short wda.f
FIELD: [org.rsbot.accessors.RSAnimable, ] getY1 -> short wda.o
FIELD: [org.rsbot.accessors.RSAnimable, ] getY2 -> short wda.i
FIELD: [org.rsbot.accessors.RSAnimable, ] getX -> int wda.s
FIELD: [org.rsbot.accessors.RSAnimable, ] getY -> int wda.l
FIELD: [org.rsbot.accessors.HDModel, ] getXPoints -> int[] og.M
FIELD: [org.rsbot.accessors.HDModel, ] getYPoints -> int[] og.t
FIELD: [org.rsbot.accessors.HDModel, ] getZPoints -> int[] og.zb
FIELD: [] getDetailLevel -> int vm.s
FIELD: [org.rsbot.accessors.LDModel, ] getXPoints -> int[] sfa.v
FIELD: [org.rsbot.accessors.LDModel, ] getYPoints -> int[] sfa.pb
FIELD: [org.rsbot.accessors.LDModel, ] getZPoints -> int[] sfa.fb
FIELD: [org.rsbot.accessors.LDModel, ] getIndices1 -> short[] sfa.ob
FIELD: [org.rsbot.accessors.LDModel, ] getIndices2 -> short[] sfa.X
FIELD: [org.rsbot.accessors.LDModel, ] getIndices3 -> short[] sfa.C
FIELD: [pba, org.rsbot.accessors.RSObject, ] getModel -> org.rsbot.accessors.Model nea.r
FIELD: [org.rsbot.accessors.RSInteractableDef, ] getRSInteractable -> org.rsbot.accessors.RSInteractable ww.i
FIELD: [org.rsbot.accessors.RSObjectDef, ] getChildrenIDs -> int[] pg.X
FIELD: [org.rsbot.accessors.RSObjectDef, ] getName -> java.lang.String pg.E
FIELD: [org.rsbot.accessors.RSObjectDef, ] getActions -> java.lang.String[] pg.O
FIELD: [org.rsbot.accessors.RSNPCDef, ] getName -> java.lang.String ql.ob
FIELD: [org.rsbot.accessors.RSNPCDef, ] getActions -> java.lang.String[] ql.Ab
FIELD: [org.rsbot.accessors.RSNPCDef, ] getType -> int ql.X
FIELD: [org.rsbot.accessors.RSNPCDef, ] getLevel -> int ql.K
FIELD: [org.rsbot.accessors.NodeCache, ] getCache -> org.rsbot.accessors.Node[] hd.o
FIELD: [org.rsbot.accessors.HDModel, ] getXPoints -> int[] mo.i
FIELD: [org.rsbot.accessors.HDModel, ] getYPoints -> int[] mo.I
FIELD: [org.rsbot.accessors.HDModel, ] getZPoints -> int[] mo.Xb
FIELD: [org.rsbot.accessors.RSNPCNode, ] getRSNPC -> org.rsbot.accessors.RSNPC nca.h
STATIC FIELD: [] getRSNPCNC -> org.rsbot.accessors.NodeCache wp.g
STATIC FIELD: [] getRSNPCIndexArray -> int[] ln.v
STATIC FIELD: [] getRSNPCCount -> int rv.m
STATIC FIELD: [] getRSPlayerArray -> org.rsbot.accessors.RSPlayer[] wk.k
STATIC FIELD: [] getRSPlayerIndexArray -> int[] kba.m
STATIC FIELD: [] getRSPlayerCount -> int jh.w
STATIC FIELD: [] getMyRSPlayer -> org.rsbot.accessors.RSPlayer naa.p
STATIC FIELD: [] getBaseX -> int bj.x
STATIC FIELD: [pba, org.rsbot.accessors.RSObject, ] getBaseY -> int fi.gb
STATIC FIELD: [] getPublicChatMode -> int kb.v
STATIC FIELD: [] getLoopCycle -> int mga.b
STATIC FIELD: [] getSelfInteracting -> int bj.x
STATIC FIELD: [] getGroundByteArray -> byte[][][] gca.h
STATIC FIELD: [] getPlane -> int dr.f
STATIC FIELD: [java.lang.Runnable, ] getCamPosX -> int ok.a
STATIC FIELD: [pba, org.rsbot.accessors.RSObject, ] getCamPosY -> int ms.B
STATIC FIELD: [] getCamPosZ -> int ef.P
STATIC FIELD: [org.rsbot.accessors.Client, ] getCameraPitch -> int client.fb
STATIC FIELD: [] getCameraYaw -> int vp.z
STATIC FIELD: [org.rsbot.accessors.RSItemDef, ] getRSInterfaceBoundsArray -> java.awt.Rectangle[] oi.f
STATIC FIELD: [] getValidRSInterfaceArray -> boolean[] lh.e
STATIC FIELD: [] getCurrentUsername -> java.lang.String is.c
STATIC FIELD: [] getCurrentPassword -> java.lang.String ud.b
STATIC FIELD: [] getMouse -> org.rsbot.bot.input.Mouse gm.Gb
STATIC FIELD: [] getKeyboard -> org.rsbot.bot.input.Keyboard ofa.g
STATIC FIELD: [] getLoginIndex -> int ve.i
STATIC FIELD: [] getSkillExperiencesMax -> int[] je.v
STATIC FIELD: [] getMinimapScale -> int ln.s
STATIC FIELD: [] getCURVECOS -> int[] fc.s
STATIC FIELD: [] getCURVESIN -> int[] fc.t
STATIC FIELD: [] getMinimapSetting -> int nn.e
STATIC FIELD: [] getMinimapAngle -> int hfa.G
STATIC FIELD: [org.rsbot.accessors.RSNPCDef, ] getMinimapOffset -> float ql.wb
STATIC FIELD: [] isSpellSelected -> boolean i.g
STATIC FIELD: [] isItemSelected -> int wo.f
STATIC FIELD: [] getSelectedItemName -> java.lang.String at.A
STATIC FIELD: [] getRSItemNodeCache -> org.rsbot.accessors.NodeCache sg.E
STATIC FIELD: [qh, ] getRSInteractingDefList -> org.rsbot.accessors.StatusNodeList ds.w
STATIC FIELD: [] getRSGroundArray -> org.rsbot.accessors.RSGround[][][] ks.b
STATIC FIELD: [ad, ] getChatLines -> org.rsbot.accessors.ChatLine[] ob.g
STATIC FIELD: [] getMenuOptionsCount -> int qf.Nb
STATIC FIELD: [] isMenuOpen -> boolean wj.R
STATIC FIELD: [] getMenuX -> int vw.c
STATIC FIELD: [] getMenuY -> int pi.r
STATIC FIELD: [] getActionDataList -> org.rsbot.accessors.NodeList he.vb
STATIC FIELD: [] getSignlink -> org.rsbot.accessors.Signlink nv.d
STATIC FIELD: [] isFlagged -> boolean pu.c
STATIC FIELD: [] getRSItemDefFactory -> org.rsbot.accessors.RSItemDefFactory rc.k
STATIC FIELD: [] getDestX -> int uea.E
STATIC FIELD: [] getDestY -> int im.I
STATIC FIELD: [] getDetailInfo -> org.rsbot.accessors.DetailInfo fk.B
STATIC FIELD: [] getTileData -> org.rsbot.accessors.TileData[] fda.b
STATIC FIELD: [] getRSGroundDataArray -> org.rsbot.accessors.RSGroundData[] wca.p
STATIC FIELD: [] getSkillLevels -> int[] bl.f
STATIC FIELD: [] getSkillExperiences -> int[] uj.j
STATIC FIELD: [] getSkillLevelMaxes -> int[] pl.a
STATIC FIELD: [] getSettingArray -> org.rsbot.accessors.Settings tc.m
STATIC FIELD: [] getRSInterfaceNC -> org.rsbot.accessors.NodeCache jd.d
STATIC FIELD: [] getGUIRSInterfaceIndex -> int saa.t
STATIC FIELD: [em, ] getRSInterfaceCache -> org.rsbot.accessors.RSInterface[][] ak.K

Aristos

2010-09-10 19:55:11

how do i change my hooks? i run this with simba and i get this error:[Error] (1:1): Unexpected end of file at line 0
Compiling failed.

{**
* Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of the SMART Minimizing Autoing Resource Thing (SMART)
*
* SMART is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SMART is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SMART. If not, see <http://www.gnu.org/licenses/>.
*}

const
ClientVersion = 616;

{Static Hooks}
hook_static_LoginIndex = 've.i';
hook_static_MyPlayer = 'naa.p';
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_NPCIndexArray = 'ln.v';
hook_static_NPCNodes = 'd.e';
hook_static_NPCCount = 'rv.m';
hook_static_GroundSettingsArray = 'kg.p'; //couldn't find this hook (kg.p) anywhere in #614..
hook_static_LoadedPlane = 'dr.f';
hook_static_PlaneArray = 'fda.b';
hook_static_Toolkit = 'js.j';
hook_static_MapAngle = 'ql.wb';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_MenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_LoopCycle = 'mga.b';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndexArray = 'kba.m';
hook_static_GetPlayers = 'wk.k';
hook_static_GetSkillLevels = 'dr.e'; //couldn't find this hook (dr.e) anywhere in #614..
hook_static_GetSkillExperiences = 'dw.Q'; //couldn't find this hook (dw.Q) anywhere in #614..
hook_static_GroundTiles = 'ks.b';
hook_static_GetInterfaces = 'ak.K';
hook_static_ValidInterfaces = 'lh.e';
hook_static_GetSettings = 'tc.m';
hook_static_GroundItemCache = 'tj.C'; //couldn't find this hook (tj.C) anywhere in #614..
hook_static_CamPosX = 'pi.c'; //couldn't find this hook (pi.c) anywhere in #614..
hook_static_CamPosY = 'ir.J'; //couldn't find this hook (ir.J) anywhere in #614..

{Class Animable}
class_Animable = 'wda';
hook_animable_PixelX = 's';
hook_animable_PixelY = 'l';
hook_animable_Plane = 'k';

{Class Player}
class_Player = 'pp';
hook_player_GetLevel = 'kd'; //not updated
hook_player_GetName = 'Cc';
hook_player_PlayerDef = 'pd'; //not updated

{Class Character}
class_Character = 'va';
hook_character_GetHitDamges = 'Yb'; //not updated
hook_character_Animation = 'ib';
hook_character_Motion = 'mc';
hook_character_WalkQueueX = 'rc'; //in #614 (of Simba's reflection), these were flip-flopped, so I'm not sure if reflection is set up correctly with these hooks..
hook_character_WalkQueueY = 'uc';
hook_character_GetHeight = 'tb';
hook_character_LoopCycleStatus = 'V';
hook_character_HPRatio = 'O';
hook_character_GetInteracting = 'ac';
hook_character_Orientation = 'Ib'; //not updated

{Class NPC}
class_NPC = 'ac';
hook_npc_NPCDef = 'Gc';

{Class NPCDef}
class_NPCDef = 'ql';
hook_npcdef_GetActions = 'Ab';
hook_npcdef_GetName = 'ob';
hook_npcdef_GetLevel = 'K';
hook_npcdef_GetID = 'X';

{Class NPCNode}
class_NPCNode = 'nca';
hook_npcnode_GetNPC = 'h';

{Class GroundTile}
class_GroundTile = 'qs';

{Class Plane}
class_Plane = 'd';

{Class RSInteractable}
class_RSInteractable = 'gfa'; //not updated

{Class Toolkit}
class_Toolkit = 'oa'; //not updated

{Class Viewport}
class_Viewport = 'q'; //not updated

{Class SDViewport}
class_SDViewport = 'cr';
hook_sdviewport_xOff = 'r';
hook_sdviewport_xX = 'h';
hook_sdviewport_xY = 'm';
hook_sdviewport_xZ = 'n';
hook_sdviewport_yOff = 'i';
hook_sdviewport_yX = 'k';
hook_sdviewport_yY = 's';
hook_sdviewport_yZ = 'j';
hook_sdviewport_zOff = 'q';
hook_sdviewport_zX = 'p';
hook_sdviewport_zY = 'l';
hook_sdviewport_zZ = 'o';

{Class SDToolkit}
class_SDToolkit = 'lea';
hook_sdtoolkit_xMin = 'I';
hook_sdtoolkit_xMax = 'J';
hook_sdtoolkit_yMin = 'z';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'M';
hook_sdtoolkit_zMax = 'R';
hook_sdtoolkit_xScale = 'B';
hook_sdtoolkit_yScale = 'Y';
hook_sdtoolkit_Viewport = 'O';

{Class SDPlane}
class_SDPlane = 'gu';
hook_sdplane_TileHeights = 'A';

{Class NodeList}
class_NodeList = 'ws';
hook_nodelist_Current = 'f'; //not updated
hook_nodelist_Head = 'e';

{Class Node}
class_Node = 'kd';
hook_node_Next = 'd';
hook_node_Previous = 'c';
hook_node_GetID = 'e';

{Class Menu}
class_Menu = 'ts';
hook_menu_Action = 'p';
hook_menu_Option = 'j';

{Class PlayerDef}
class_PlayerDef = 'n'; //couldn't find class
hook_playerdef_GetEquipment = 't'; //couldn't find this hook (n.t) anywhere in #614..

{Class AnimableNode}
class_AnimableNode = 'qe';
hook_AnimableNode_GetAnimable = 'e';
hook_AnimableNode_GetNext = 'd';

{Class ObjectInterface}
class_ObjectInterface = 'rr';
hook_interface_GetActions = 'Pc';
hook_interface_GetX = 'e';
hook_interface_GetY = 'Ab';
hook_interface_GetWidth = 'ed';
hook_interface_GetHeight = 'kb';
hook_interface_GetText = 'Z';
hook_interface_GetTextureID = 'wc';
hook_interface_GetTextColor = 'J';
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'Uc'; //not updated
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'E';
hook_interface_GetID = 'Zb';
hook_interface_GetStack = 'Cb';

{Class Ground}
class_Ground = 'qs';
hook_ground_AnimableList = 'd';
hook_ground_WallObject1 = 'y'; //not updated
hook_ground_WallObject2 = 'p'; //not updated
hook_ground_WallDecoration1 = 'c'; //not updated
hook_ground_WallDecoration2 = 'd'; //not updated
hook_ground_FloorDecoration = 'w'; //not updated

//GroundItem crap.
//nodecache class hd
hook_nodecache_GetNodes = 'hd.o';

//RSItem class bt
hook_item_GetID = 'bt.j';
hook_item_GetStack = 'p'; //not updated

//nodelistcache class wc
hook_nodelistcache_GetNodeList = 'wc.g';

//Settings Array
hook_settingarray_GetData = 'h'; //not updated

{
/////////////// HOOKS BELOW HERE ARE *OUTDATED* AS OF 14 July 2010 (Client 614) ////////////////////////
These hooks all need to be added to the updater.
}

//Some work actually. You're welcome. Updated as much as I could. (Thanks to TRiLeZ.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'fi';
hook_interactiveobject_GetID = 'X';

{Class InteractiveObject2}
class_InteractiveObject2 = 'dt';
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'kd'; //not updated

//WallObjectData class wda
hook_wallobjectdata_GetID = 'x'; //not updated
hook_wallobjectdata_GetID2 = 'D.H'; //not updated

//WallDecorationData class ew
hook_WallDecorationData_GetID = 'w'; //not updated
hook_WallDecorationData_GetID2 = 'y.H'; //not updated

//FloorDecorationData class rv
hook_FloorDecorationData_GetID = 'z'; //not updated
hook_FloorDecorationData_GetID2 = 'm.H'; //not updated

Coh3n

2010-09-11 14:56:11

You don't run Hooks.simba, just copy/paste the new hooks that are posted and hit save, then try running an actual script.

Wyn

2010-09-11 19:26:01

http://villavu.com/forum/showthread.php?t=58849

/Thread

Becks

2010-09-12 14:53:18

From: wyn10
http://villavu.com/forum/showthread.php?t=58849

/Thread


Doesn't help.

Coh3n

2010-09-12 17:05:17

From: Becks
Doesn't help.

That's the thread with the latest hooks. The hooks on this thread are all outdated. How doesn't it help?

Becks

2010-09-12 17:46:10

I still am getting hooks outdated even after updating with them.

Coh3n

2010-09-12 17:52:20

From: Becks
I still am getting hooks outdated even after updating with them.

Try the file I've attached. It's working for me, so there should be no problem.

Wyn

2010-09-14 15:37:32

Simba\Includes\Reflection\Core\hooks.simba

Open it. Replace everything with first post.

spart300

2010-09-17 14:53:27

I updated the hooks to the one Shut gave us, I still can't use the script. Everything (SRL and Reflection is updated)

Shuttleu

2010-09-17 16:15:27

From: spart300
I updated the hooks to the one Shut gave us, I still can't use the script. Everything (SRL and Reflection is updated)


i never gave any hooks :s

~shut