SRL Archive - Client Hacking

#622


Naike

2010-10-06 09:49:59

Rev: 622

Soon as I get a stable hook output, I'll commit.


Best we got so far: Thanks to pyroryan! (more too come, don't worry..)


{**
* 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 = 622;

{Static Hooks}
hook_static_LoginIndex = 'bb.I'; //622
hook_static_MyPlayer = 'sd.v'; //622
hook_static_BaseX = 'mm.n'; //622
hook_static_BaseY = 'jea.m'; //622
hook_static_NPCIndexArray = 'qu.T'; //622
hook_static_NPCNodes = 'qq.n'; //622
hook_static_NPCCount = 'dda.b'; //622
hook_static_GroundSettingsArray = 'tda.F'; //622
hook_static_LoadedPlane = 'ee.d'; //622
hook_static_PlaneArray = 'ci.rb'; //622
hook_static_Toolkit = 'tf.a'; //622
hook_static_MapAngle = 'bi.K'; //622
hook_static_DestX = 've.k'; //622
hook_static_DestY = 'el.g'; //622
hook_static_MenuOptionCount = 'wa.i'; //622
hook_static_MenuX = 'hv.D'; //622
hook_static_MenuY = 'up.e'; //622
hook_static_MenuOpen = 'fl.e'; //622
hook_static_MenuNodeList = 'eu.e'; //622
hook_static_LoopCycle = 'tg.p'; //622
hook_static_PlayerCount = 'uq.x'; //622
hook_static_PlayerIndexArray = 'fu.h'; //622
hook_static_GetPlayers = 'ida.o'; //622
hook_static_GetSkillLevels = 'ew.B'; //622
hook_static_GetSkillExperiences = 'fe.k'; //622
hook_static_GroundTiles = 'lo.P'; //622
hook_static_GetInterfaces = 'og.P'; //622
hook_static_ValidInterfaces = 'pp.i'; //622
hook_static_GetSettings = 'sm.t'; //622
hook_static_GroundItemCache = 'hv.A'; //622
hook_static_CamPosX = 'ii.c'; //622
hook_static_CamPosY = 'nd.f'; //622

{Class Animable}
class_Animable = 'rb'; //622
hook_animable_PixelX = 'u'; //622
hook_animable_PixelY = 'r'; //622
hook_animable_Plane = 'h'; //622

{Class Player}
class_Player = 'wn'; //622
hook_player_GetLevel = 'Md'; //622
hook_player_GetName = 'Wc'; //622
hook_player_PlayerDef = 'ad'; //622
hook_player_GetTeam = 'Pd'; //622

{Class Character}
class_Character = 'sp'; //622
hook_character_GetHitDamges = 'zc'; //check?-622
hook_character_Animation = 'Bb'; //622
hook_character_Motion = 'Mc'; //622
hook_character_WalkQueueX = 'Lc'; //622
hook_character_WalkQueueY = 'Hc'; //622
hook_character_GetHeight = 'jc'; //622
hook_character_LoopCycleStatus = 'Rb'; //622
hook_character_HPRatio = 'Y'; //622
hook_character_GetInteracting = 'ub'; //622
hook_character_Orientation = 'rc'; //622

{Class NPC}
class_NPC = 'oh'; //622
hook_npc_NPCDef = 'od'; //622

{Class NPCDef}
class_NPCDef = 'pw'; //622
hook_npcdef_GetActions = 'H'; //622
hook_npcdef_GetName = 'eb'; //622
hook_npcdef_GetLevel = 'db'; //622
hook_npcdef_GetID = 'D'; //622

{Class NPCNode}
class_NPCNode = 'kv'; //622
hook_npcnode_GetNPC = 'k'; //622

{Class GroundTile}
class_GroundTile = 'ru'; //622

{Class Plane}
class_Plane = 'i';

{Class RSInteractable}
class_RSInteractable = 'ki'; //622

{Class Toolkit}
class_Toolkit = 'r';

{Class Viewport}
class_Viewport = 'q';

{Class SDViewport}
class_SDViewport = 'uv'; //622
hook_sdviewport_xOff = 'l'; //622
hook_sdviewport_xX = 'w'; //622
hook_sdviewport_xY = 'E'; //622
hook_sdviewport_xZ = 's'; //622
hook_sdviewport_yOff = 'z'; //622
hook_sdviewport_yX = 'G'; //622
hook_sdviewport_yY = 'k'; //622
hook_sdviewport_yZ = 't'; //622
hook_sdviewport_zOff = 'H'; //622
hook_sdviewport_zX = 'n'; //622
hook_sdviewport_zY = 'r'; //622
hook_sdviewport_zZ = 'g'; //622

{Class SDToolkit}
class_SDToolkit = 'cc'; //622
hook_sdtoolkit_xMin = 'X'; //622
hook_sdtoolkit_xMax = 'J'; //622
hook_sdtoolkit_yMin = 'T'; //622
hook_sdtoolkit_yMax = 'Y'; //622
hook_sdtoolkit_zMin = 'S'; //622
hook_sdtoolkit_zMax = 'B'; //622
hook_sdtoolkit_xScale = 'C'; //622
hook_sdtoolkit_yScale = 'L'; //622
hook_sdtoolkit_Viewport = 'bb'; //622

{Class SDPlane}
class_SDPlane = 'i'; //622
hook_sdplane_TileHeights = 'b'; //622

{Class NodeList}
class_NodeList = 'gk'; //622
hook_nodelist_Current = 'v'; //622
hook_nodelist_Head = 'h'; //622

{Class Node}
class_Node = 'gga'; //622
hook_node_Next = 'i'; //622
hook_node_Previous = 'b'; //622
hook_node_GetID = 'd'; //622

{Class Menu}
class_Menu = 'rn'; //622
hook_menu_Action = 'o'; //622
hook_menu_Option = 'k'; //622

{Class PlayerDef}
class_PlayerDef = 'ea';
hook_playerdef_GetEquipment = 'm'; //622

{Class AnimableNode}
class_AnimableNode = 'bo'; //622
hook_AnimableNode_GetAnimable = 'f'; //622
hook_AnimableNode_GetNext = 'd'; //622

{Class ObjectInterface}
class_ObjectInterface = 'wp'; //622
hook_interface_GetActions = 'Bc';
hook_interface_GetX = 'Q'; //622
hook_interface_GetY = 'Oc'; //622
hook_interface_GetWidth = 'Sc'; //622
hook_interface_GetHeight = 'P'; //622
hook_interface_GetText = 'tc'; //622
hook_interface_GetTextureID = 'Zb'; //622
hook_interface_GetTextColor = 'w'; //622
hook_interface_GetModelID = 'Jb'; //622
hook_interface_GetModelZoom = 'hb'; //622
hook_interface_GetName = 'jc'; //622
hook_interface_GetChildren = 'Gb'; //622
hook_interface_GetID = 'pc'; //622
hook_interface_GetStack = 'R'; //622

{Class Ground}
class_Ground = 'ru'; //622
hook_ground_AnimableList = 'f'; //622
hook_ground_WallObject1 = 'n'; //622
hook_ground_WallObject2 = 'i'; //622
hook_ground_WallDecoration1 = 's'; //622
hook_ground_WallDecoration2 = 'v'; //622
hook_ground_FloorDecoration = 'u'; //622

//GroundItem crap.
//nodecache class wh
hook_nodecache_GetNodes = 'wa.p'; //622

//RSItem class ni
hook_item_GetID = 'hca.k'; //622
hook_item_GetStack = 'hca.m'; //622

//nodelistcache class oc
hook_nodelistcache_GetNodeList = 'jfa.m'; //622

//Settings Array
hook_settingarray_GetData = 'taa.f'; //622

{
/////////////// 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 and pyroryan.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'ci'; //622
hook_interactiveobject_GetID = 'Z'; //622
hook_interactiveobject_getModel = 'hb'; //622

{Class InteractiveObject2}
class_InteractiveObject2 = 'mu'; //622
hook_interactiveobject2_getObjectData = 'R'; //622
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'rv'; //622

//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

Commited, still some missing.. (most stuff work, if not, wait until rsbot updates and I'll update the rest)

pyroryan

2010-10-06 10:29:08

Heres the latest. Some might be broken, I didn't check.

{**
* 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 = 622;

{Static Hooks}
hook_static_LoginIndex = 'bb.I'; //622
hook_static_MyPlayer = 'sd.v'; //622
hook_static_BaseX = 'mm.n'; //622
hook_static_BaseY = 'jea.m'; //622
hook_static_NPCIndexArray = 'qu.T'; //622
hook_static_NPCNodes = 'qq.n'; //622
hook_static_NPCCount = 'dda.b'; //622
hook_static_GroundSettingsArray = 'tda.F'; //622
hook_static_LoadedPlane = 'ee.d'; //622
hook_static_PlaneArray = 'ci.rb'; //622
hook_static_Toolkit = 'tf.a'; //622
hook_static_MapAngle = 'bi.K'; //622
hook_static_DestX = 've.k'; //622
hook_static_DestY = 'el.g'; //622
hook_static_MenuOptionCount = 'wa.i'; //622
hook_static_MenuX = 'hv.D'; //622
hook_static_MenuY = 'up.e'; //622
hook_static_MenuOpen = 'fl.e'; //622
hook_static_MenuNodeList = 'eu.e'; //622
hook_static_LoopCycle = 'tg.p'; //622
hook_static_PlayerCount = 'pda.q'; //622
hook_static_PlayerIndexArray = 'qea.a'; //622
hook_static_GetPlayers = 'ida.o'; //622
hook_static_GetSkillLevels = 'ew.B'; //622
hook_static_GetSkillExperiences = 'fe.k'; //622
hook_static_GroundTiles = 'lo.P'; //622
hook_static_GetInterfaces = 'og.P'; //622
hook_static_ValidInterfaces = 'pp.i'; //622
hook_static_GetSettings = 'sm.t'; //622
hook_static_GroundItemCache = 'hv.A'; //622
hook_static_CamPosX = 'ii.c'; //622
hook_static_CamPosY = 'nd.f'; //622

{Class Animable}
class_Animable = 'rb'; //622
hook_animable_PixelX = 'u'; //622
hook_animable_PixelY = 'r'; //622
hook_animable_Plane = 'h'; //622

{Class Player}
class_Player = 'wn'; //622
hook_player_GetLevel = 'Md'; //622
hook_player_GetName = 'Wc'; //622
hook_player_PlayerDef = 'ad'; //622
hook_player_GetTeam = 'Pd'; //622

{Class Character}
class_Character = 'sp'; //622
hook_character_GetHitDamges = 'zc'; //check?-622
hook_character_Animation = 'Bb'; //622
hook_character_Motion = 'Mc'; //622
hook_character_WalkQueueX = 'Lc'; //622
hook_character_WalkQueueY = 'Hc'; //622
hook_character_GetHeight = 'jc'; //622
hook_character_LoopCycleStatus = 'Rb'; //622
hook_character_HPRatio = 'Y'; //622
hook_character_GetInteracting = 'ub'; //622
hook_character_Orientation = 'rc'; //622

{Class NPC}
class_NPC = 'oh'; //622
hook_npc_NPCDef = 'od'; //622

{Class NPCDef}
class_NPCDef = 'pw'; //622
hook_npcdef_GetActions = 'H'; //622
hook_npcdef_GetName = 'eb'; //622
hook_npcdef_GetLevel = 'db'; //622
hook_npcdef_GetID = 'D'; //622

{Class NPCNode}
class_NPCNode = 'kv'; //622
hook_npcnode_GetNPC = 'k'; //622

{Class GroundTile}
class_GroundTile = 'ru'; //622

{Class Plane}
class_Plane = 'i';

{Class RSInteractable}
class_RSInteractable = 'ki'; //622

{Class Toolkit}
class_Toolkit = 'r';

{Class Viewport}
class_Viewport = 'q';

{Class SDViewport}
class_SDViewport = 'uv'; //622
hook_sdviewport_xOff = 'l'; //622
hook_sdviewport_xX = 'w'; //622
hook_sdviewport_xY = 'E'; //622
hook_sdviewport_xZ = 's'; //622
hook_sdviewport_yOff = 'z'; //622
hook_sdviewport_yX = 'G'; //622
hook_sdviewport_yY = 'k'; //622
hook_sdviewport_yZ = 't'; //622
hook_sdviewport_zOff = 'H'; //622
hook_sdviewport_zX = 'n'; //622
hook_sdviewport_zY = 'r'; //622
hook_sdviewport_zZ = 'g'; //622

{Class SDToolkit}
class_SDToolkit = 'cc'; //622
hook_sdtoolkit_xMin = 'X'; //622
hook_sdtoolkit_xMax = 'J'; //622
hook_sdtoolkit_yMin = 'T'; //622
hook_sdtoolkit_yMax = 'Y'; //622
hook_sdtoolkit_zMin = 'S'; //622
hook_sdtoolkit_zMax = 'B'; //622
hook_sdtoolkit_xScale = 'C'; //622
hook_sdtoolkit_yScale = 'L'; //622
hook_sdtoolkit_Viewport = 'bb'; //622

{Class SDPlane}
class_SDPlane = 'i'; //622
hook_sdplane_TileHeights = 'b'; //622

{Class NodeList}
class_NodeList = 'gk'; //622
hook_nodelist_Current = 'v'; //622
hook_nodelist_Head = 'h'; //622

{Class Node}
class_Node = 'gga'; //622
hook_node_Next = 'i'; //622
hook_node_Previous = 'b'; //622
hook_node_GetID = 'd'; //622

{Class Menu}
class_Menu = 'rn'; //622
hook_menu_Action = 'o'; //622
hook_menu_Option = 'k'; //622

{Class PlayerDef}
class_PlayerDef = 'ea';
hook_playerdef_GetEquipment = 'm'; //622

{Class AnimableNode}
class_AnimableNode = 'bo'; //622
hook_AnimableNode_GetAnimable = 'f'; //622
hook_AnimableNode_GetNext = 'd'; //622

{Class ObjectInterface}
class_ObjectInterface = 'wp'; //622
hook_interface_GetActions = 'Bc';
hook_interface_GetX = 'Q'; //622
hook_interface_GetY = 'Oc'; //622
hook_interface_GetWidth = 'md'; //622
hook_interface_GetHeight = 'yc'; //622
hook_interface_GetText = 'tc'; //622
hook_interface_GetTextureID = 'Zb'; //622
hook_interface_GetTextColor = 'w'; //622
hook_interface_GetModelID = 'Jb'; //622
hook_interface_GetModelZoom = 'hb'; //622
hook_interface_GetName = 'jc'; //622
hook_interface_GetChildren = 'Gb'; //622
hook_interface_GetID = 'pc'; //622
hook_interface_GetStack = 'R'; //622

{Class Ground}
class_Ground = 'ru'; //622
hook_ground_AnimableList = 'f'; //622
hook_ground_WallObject1 = 'n'; //622
hook_ground_WallObject2 = 'i'; //622
hook_ground_WallDecoration1 = 's'; //622
hook_ground_WallDecoration2 = 'v'; //622
hook_ground_FloorDecoration = 'u'; //622

//GroundItem crap.
//nodecache class wh
hook_nodecache_GetNodes = 'wa.p'; //622

//RSItem class ni
hook_item_GetID = 'hca.k'; //622
hook_item_GetStack = 'hca.m'; //622

//nodelistcache class oc
hook_nodelistcache_GetNodeList = 'jfa.m'; //622

//Settings Array
hook_settingarray_GetData = 'taa.f'; //622

{
/////////////// 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 and pyroryan.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'ci'; //622
hook_interactiveobject_GetID = 'Z'; //622
hook_interactiveobject_getModel = 'hb'; //622

{Class InteractiveObject2}
class_InteractiveObject2 = 'mu'; //622
hook_interactiveobject2_getObjectData = 'R'; //622
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'rv'; //622

//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

Cstrike

2010-10-06 12:16:50

Thanks very much for the updates :)

BTW:
//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
Are these going to always remain outdated? Are they considered not as useful? Just curious

pyroryan

2010-10-06 16:13:14


{**
* 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 = 622;

{Static Hooks}
hook_static_LoginIndex = 'bb.I'; //622
hook_static_MyPlayer = 'sd.v'; //622
hook_static_BaseX = 'mm.n'; //622
hook_static_BaseY = 'jea.m'; //622
hook_static_NPCIndexArray = 'qu.T'; //622
hook_static_NPCNodes = 'qq.n'; //622
hook_static_NPCCount = 'dda.b'; //622
hook_static_GroundSettingsArray = 'tda.F'; //622
hook_static_LoadedPlane = 'ee.d'; //622
hook_static_PlaneArray = 'ci.rb'; //622
hook_static_Toolkit = 'tf.a'; //622
hook_static_MapAngle = 'bi.K'; //622
hook_static_DestX = 've.k'; //622
hook_static_DestY = 'el.g'; //622
hook_static_MenuOptionCount = 'wa.i'; //622
hook_static_MenuX = 'hv.D'; //622
hook_static_MenuY = 'up.e'; //622
hook_static_MenuOpen = 'fl.e'; //622
hook_static_MenuNodeList = 'eu.e'; //622
hook_static_LoopCycle = 'tg.p'; //622
hook_static_PlayerCount = 'uq.x'; //622
hook_static_PlayerIndexArray = 'fu.h'; //622
hook_static_GetPlayers = 'ida.o'; //622
hook_static_GetSkillLevels = 'ew.B'; //622
hook_static_GetSkillExperiences = 'fe.k'; //622
hook_static_GroundTiles = 'lo.P'; //622
hook_static_GetInterfaces = 'og.P'; //622
hook_static_ValidInterfaces = 'pp.i'; //622
hook_static_GetSettings = 'sm.t'; //622
hook_static_GroundItemCache = 'hv.A'; //622
hook_static_CamPosX = 'ii.c'; //622
hook_static_CamPosY = 'nd.f'; //622

{Class Animable}
class_Animable = 'rb'; //622
hook_animable_PixelX = 'u'; //622
hook_animable_PixelY = 'r'; //622
hook_animable_Plane = 'h'; //622

{Class Player}
class_Player = 'wn'; //622
hook_player_GetLevel = 'Md'; //622
hook_player_GetName = 'Wc'; //622
hook_player_PlayerDef = 'ad'; //622
hook_player_GetTeam = 'Pd'; //622

{Class Character}
class_Character = 'sp'; //622
hook_character_GetHitDamges = 'zc'; //check?-622
hook_character_Animation = 'Bb'; //622
hook_character_Motion = 'Mc'; //622
hook_character_WalkQueueX = 'Lc'; //622
hook_character_WalkQueueY = 'Hc'; //622
hook_character_GetHeight = 'jc'; //622
hook_character_LoopCycleStatus = 'Rb'; //622
hook_character_HPRatio = 'Y'; //622
hook_character_GetInteracting = 'ub'; //622
hook_character_Orientation = 'rc'; //622

{Class NPC}
class_NPC = 'oh'; //622
hook_npc_NPCDef = 'od'; //622

{Class NPCDef}
class_NPCDef = 'pw'; //622
hook_npcdef_GetActions = 'H'; //622
hook_npcdef_GetName = 'eb'; //622
hook_npcdef_GetLevel = 'db'; //622
hook_npcdef_GetID = 'D'; //622

{Class NPCNode}
class_NPCNode = 'kv'; //622
hook_npcnode_GetNPC = 'k'; //622

{Class GroundTile}
class_GroundTile = 'ru'; //622

{Class Plane}
class_Plane = 'i';

{Class RSInteractable}
class_RSInteractable = 'ki'; //622

{Class Toolkit}
class_Toolkit = 'r';

{Class Viewport}
class_Viewport = 'q';

{Class SDViewport}
class_SDViewport = 'uv'; //622
hook_sdviewport_xOff = 'l'; //622
hook_sdviewport_xX = 'w'; //622
hook_sdviewport_xY = 'E'; //622
hook_sdviewport_xZ = 's'; //622
hook_sdviewport_yOff = 'z'; //622
hook_sdviewport_yX = 'G'; //622
hook_sdviewport_yY = 'k'; //622
hook_sdviewport_yZ = 't'; //622
hook_sdviewport_zOff = 'H'; //622
hook_sdviewport_zX = 'n'; //622
hook_sdviewport_zY = 'r'; //622
hook_sdviewport_zZ = 'g'; //622

{Class SDToolkit}
class_SDToolkit = 'cc'; //622
hook_sdtoolkit_xMin = 'X'; //622
hook_sdtoolkit_xMax = 'J'; //622
hook_sdtoolkit_yMin = 'T'; //622
hook_sdtoolkit_yMax = 'Y'; //622
hook_sdtoolkit_zMin = 'S'; //622
hook_sdtoolkit_zMax = 'B'; //622
hook_sdtoolkit_xScale = 'C'; //622
hook_sdtoolkit_yScale = 'L'; //622
hook_sdtoolkit_Viewport = 'bb'; //622

{Class SDPlane}
class_SDPlane = 'i'; //622
hook_sdplane_TileHeights = 'b'; //622

{Class NodeList}
class_NodeList = 'gk'; //622
hook_nodelist_Current = 'v'; //622
hook_nodelist_Head = 'h'; //622

{Class Node}
class_Node = 'gga'; //622
hook_node_Next = 'i'; //622
hook_node_Previous = 'b'; //622
hook_node_GetID = 'd'; //622

{Class Menu}
class_Menu = 'rn'; //622
hook_menu_Action = 'o'; //622
hook_menu_Option = 'k'; //622

{Class PlayerDef}
class_PlayerDef = 'ea';
hook_playerdef_GetEquipment = 'm'; //622

{Class AnimableNode}
class_AnimableNode = 'bo'; //622
hook_AnimableNode_GetAnimable = 'f'; //622
hook_AnimableNode_GetNext = 'd'; //622

{Class ObjectInterface}
class_ObjectInterface = 'wp'; //622
hook_interface_GetActions = 'Bc';
hook_interface_GetX = 'Q'; //622
hook_interface_GetY = 'Oc'; //622
hook_interface_GetWidth = 'md'; //622
hook_interface_GetHeight = 'yc'; //622
hook_interface_GetText = 'tc'; //622
hook_interface_GetTextureID = 'Zb'; //622
hook_interface_GetTextColor = 'w'; //622
hook_interface_GetModelID = 'Jb'; //622
hook_interface_GetModelZoom = 'hb'; //622
hook_interface_GetName = 'jc'; //622
hook_interface_GetChildren = 'Gb'; //622
hook_interface_GetID = 'pc'; //622
hook_interface_GetStack = 'R'; //622

{Class Ground}
class_Ground = 'ru'; //622
hook_ground_AnimableList = 'f'; //622
hook_ground_WallObject1 = 'n'; //622
hook_ground_WallObject2 = 'i'; //622
hook_ground_WallDecoration1 = 's'; //622
hook_ground_WallDecoration2 = 'v'; //622
hook_ground_FloorDecoration = 'u'; //622

//GroundItem crap.
//nodecache class wh
hook_nodecache_GetNodes = 'wa.p'; //622

//RSItem class ni
hook_item_GetID = 'hca.k'; //622
hook_item_GetStack = 'hca.m'; //622

//nodelistcache class oc
hook_nodelistcache_GetNodeList = 'jfa.m'; //622

//Settings Array
hook_settingarray_GetData = 'taa.f'; //622

{
/////////////// 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 and pyroryan.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'ci'; //622
hook_interactiveobject_GetID = 'Z'; //622
hook_interactiveobject_getModel = 'hb'; //622

{Class InteractiveObject2}
class_InteractiveObject2 = 'mu'; //622
hook_interactiveobject2_getObjectData = 'R'; //622
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'rv'; //622

//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

Latest ones posted. Just realized that my GetHeight is simba's GetHeight2, same thing for GetWidth. Epic fail on my part, sorry guys.

i luffs yeww

2010-10-06 20:05:43

From: cstrike
Thanks very much for the updates :)

BTW:
//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
Are these going to always remain outdated? Are they considered not as useful? Just curious


I personally find no use for them, but I never updated them because I couldn't ever find them. :/

Coh3n

2010-10-06 22:10:19

Thanks guys! :)

pyroryan

2010-10-06 22:53:05

From: Coh3n
Thanks guys! :)


The version you posted on the thread has the wrong GetHeight and GetWidth for interfaces since my GetHeight2 is simba's GetHeight. Probably doesn't matter to MSI, but this is the latest one


{**
* 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 = 622;

{Static Hooks}
hook_static_LoginIndex = 'bb.I'; //622
hook_static_MyPlayer = 'sd.v'; //622
hook_static_BaseX = 'mm.n'; //622
hook_static_BaseY = 'jea.m'; //622
hook_static_NPCIndexArray = 'qu.T'; //622
hook_static_NPCNodes = 'qq.n'; //622
hook_static_NPCCount = 'dda.b'; //622
hook_static_GroundSettingsArray = 'tda.F'; //622
hook_static_LoadedPlane = 'ee.d'; //622
hook_static_PlaneArray = 'ci.rb'; //622
hook_static_Toolkit = 'tf.a'; //622
hook_static_MapAngle = 'bi.K'; //622
hook_static_DestX = 've.k'; //622
hook_static_DestY = 'el.g'; //622
hook_static_MenuOptionCount = 'wa.i'; //622
hook_static_MenuX = 'hv.D'; //622
hook_static_MenuY = 'up.e'; //622
hook_static_MenuOpen = 'fl.e'; //622
hook_static_MenuNodeList = 'eu.e'; //622
hook_static_LoopCycle = 'tg.p'; //622
hook_static_PlayerCount = 'pda.q'; //622
hook_static_PlayerIndexArray = 'qea.a'; //622
hook_static_GetPlayers = 'ida.o'; //622
hook_static_GetSkillLevels = 'ew.B'; //622
hook_static_GetSkillExperiences = 'fe.k'; //622
hook_static_GroundTiles = 'lo.P'; //622
hook_static_GetInterfaces = 'og.P'; //622
hook_static_ValidInterfaces = 'pp.i'; //622
hook_static_GetSettings = 'sm.t'; //622
hook_static_GroundItemCache = 'hv.A'; //622
hook_static_CamPosX = 'ii.c'; //622
hook_static_CamPosY = 'nd.f'; //622

{Class Animable}
class_Animable = 'rb'; //622
hook_animable_PixelX = 'u'; //622
hook_animable_PixelY = 'r'; //622
hook_animable_Plane = 'h'; //622

{Class Player}
class_Player = 'wn'; //622
hook_player_GetLevel = 'Md'; //622
hook_player_GetName = 'Wc'; //622
hook_player_PlayerDef = 'ad'; //622
hook_player_GetTeam = 'Pd'; //622

{Class Character}
class_Character = 'sp'; //622
hook_character_GetHitDamges = 'zc'; //check?-622
hook_character_Animation = 'Bb'; //622
hook_character_Motion = 'Mc'; //622
hook_character_WalkQueueX = 'Lc'; //622
hook_character_WalkQueueY = 'Hc'; //622
hook_character_GetHeight = 'jc'; //622
hook_character_LoopCycleStatus = 'Rb'; //622
hook_character_HPRatio = 'Y'; //622
hook_character_GetInteracting = 'ub'; //622
hook_character_Orientation = 'rc'; //622

{Class NPC}
class_NPC = 'oh'; //622
hook_npc_NPCDef = 'od'; //622

{Class NPCDef}
class_NPCDef = 'pw'; //622
hook_npcdef_GetActions = 'H'; //622
hook_npcdef_GetName = 'eb'; //622
hook_npcdef_GetLevel = 'db'; //622
hook_npcdef_GetID = 'D'; //622

{Class NPCNode}
class_NPCNode = 'kv'; //622
hook_npcnode_GetNPC = 'k'; //622

{Class GroundTile}
class_GroundTile = 'ru'; //622

{Class Plane}
class_Plane = 'i';

{Class RSInteractable}
class_RSInteractable = 'ki'; //622

{Class Toolkit}
class_Toolkit = 'r';

{Class Viewport}
class_Viewport = 'q';

{Class SDViewport}
class_SDViewport = 'uv'; //622
hook_sdviewport_xOff = 'l'; //622
hook_sdviewport_xX = 'w'; //622
hook_sdviewport_xY = 'E'; //622
hook_sdviewport_xZ = 's'; //622
hook_sdviewport_yOff = 'z'; //622
hook_sdviewport_yX = 'G'; //622
hook_sdviewport_yY = 'k'; //622
hook_sdviewport_yZ = 't'; //622
hook_sdviewport_zOff = 'H'; //622
hook_sdviewport_zX = 'n'; //622
hook_sdviewport_zY = 'r'; //622
hook_sdviewport_zZ = 'g'; //622

{Class SDToolkit}
class_SDToolkit = 'cc'; //622
hook_sdtoolkit_xMin = 'X'; //622
hook_sdtoolkit_xMax = 'J'; //622
hook_sdtoolkit_yMin = 'T'; //622
hook_sdtoolkit_yMax = 'Y'; //622
hook_sdtoolkit_zMin = 'S'; //622
hook_sdtoolkit_zMax = 'B'; //622
hook_sdtoolkit_xScale = 'C'; //622
hook_sdtoolkit_yScale = 'L'; //622
hook_sdtoolkit_Viewport = 'bb'; //622

{Class SDPlane}
class_SDPlane = 'i'; //622
hook_sdplane_TileHeights = 'b'; //622

{Class NodeList}
class_NodeList = 'gk'; //622
hook_nodelist_Current = 'v'; //622
hook_nodelist_Head = 'h'; //622

{Class Node}
class_Node = 'gga'; //622
hook_node_Next = 'i'; //622
hook_node_Previous = 'b'; //622
hook_node_GetID = 'd'; //622

{Class Menu}
class_Menu = 'rn'; //622
hook_menu_Action = 'o'; //622
hook_menu_Option = 'k'; //622

{Class PlayerDef}
class_PlayerDef = 'ea';
hook_playerdef_GetEquipment = 'm'; //622

{Class AnimableNode}
class_AnimableNode = 'bo'; //622
hook_AnimableNode_GetAnimable = 'f'; //622
hook_AnimableNode_GetNext = 'd'; //622

{Class ObjectInterface}
class_ObjectInterface = 'wp'; //622
hook_interface_GetActions = 'Bc';
hook_interface_GetX = 'Q'; //622
hook_interface_GetY = 'Oc'; //622
hook_interface_GetWidth = 'md'; //622
hook_interface_GetHeight = 'yc'; //622
hook_interface_GetText = 'tc'; //622
hook_interface_GetTextureID = 'Zb'; //622
hook_interface_GetTextColor = 'w'; //622
hook_interface_GetModelID = 'Jb'; //622
hook_interface_GetModelZoom = 'hb'; //622
hook_interface_GetName = 'jc'; //622
hook_interface_GetChildren = 'Gb'; //622
hook_interface_GetID = 'pc'; //622
hook_interface_GetStack = 'R'; //622

{Class Ground}
class_Ground = 'ru'; //622
hook_ground_AnimableList = 'f'; //622
hook_ground_WallObject1 = 'n'; //622
hook_ground_WallObject2 = 'i'; //622
hook_ground_WallDecoration1 = 's'; //622
hook_ground_WallDecoration2 = 'v'; //622
hook_ground_FloorDecoration = 'u'; //622

//GroundItem crap.
//nodecache class wh
hook_nodecache_GetNodes = 'wa.p'; //622

//RSItem class ni
hook_item_GetID = 'hca.k'; //622
hook_item_GetStack = 'hca.m'; //622

//nodelistcache class oc
hook_nodelistcache_GetNodeList = 'jfa.m'; //622

//Settings Array
hook_settingarray_GetData = 'taa.f'; //622

{
/////////////// 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 and pyroryan.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'ci'; //622
hook_interactiveobject_GetID = 'Z'; //622
hook_interactiveobject_getModel = 'hb'; //622

{Class InteractiveObject2}
class_InteractiveObject2 = 'mu'; //622
hook_interactiveobject2_getObjectData = 'R'; //622
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'rv'; //622

//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

ZephyrsFury

2010-10-09 21:06:18

hook_static_GetPlayers and hook_static_PlayerCount don't seem to be working for me.


Count := SmartGetFieldInt(0, hook_static_PlayerCount);

from GetPlayers gives me a result of like 2046 or close to that.

Also using GetPlayers() to get player names and levels does not appear to be working.

pyroryan

2010-10-09 21:22:42

Try copying my hooks from the first post since I update them lol. I guess I should have posted because that hook broke in my updater and I found out 8 hours ago that they were wrong (thanks Trilez for uploading your hooks). Also fixed them 8 hours ago :). This is what the two broke hooks should be:

hook_static_PlayerCount = 'pda.q'; //622
hook_static_PlayerIndexArray = 'qea.a'; //622

I would just copy them from my first post on this thread since I have updated a few other broken hooks.

Edit:
I did not notice the getPlayers. I'll work on checking that now thanks.

Edit 2:
getPlayers hook seems to be ok

ZephyrsFury

2010-10-09 22:41:24

Thank man, much appreciated :)

Naike

2010-10-10 08:50:37

Fixed @ Svn :)

pyroryan

2010-10-10 11:58:34

From: cstrike
Thanks very much for the updates :)

BTW:
//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
Are these going to always remain outdated? Are they considered not as useful? Just curious


Totally forgot about your post lol. Anyways, I don't know what the GetID2 are for, they don't seem to be used at all. As for the GetID, until someone actually asks me to find them because the person wants to use the hooks, I won't bother hunting for them. Usefulness is subjective, so I'll just tell you that they're used in Objects.simba.

Edit: All the GetID hooks found.
Edit 2: Committed to the svn I use to tell Naike when I update hooks. I chose to update them because someone mentioned Objects was glitched. So hopefully this will fix some things.
Edit 3:
For anyone wanting to test.

//WallObjectData, WallDecorationData, FloorDecorationData updated -pyroryan
{Class WallObjectData}
class_WallObjectData = 'vm'; //622
hook_WallObjectData_GetID = 'gb'; //622
hook_WallObjectData_GetID2 = 'D.H'; //not updated

{Class WallDecorationData}
class_WallDecorationData = 'fda'; //622
hook_WallDecorationData_GetID = 'V'; //622
hook_WallDecorationData_GetID2 = 'y.H'; //not updated

{Class FloorDecorationData}
class_FloorDecorationData = 'jca'; //622
hook_FloorDecorationData_GetID = 'L'; //622
hook_FloorDecorationData_GetID2 = 'm.H'; //not updated

Edit 4:
Yes I did capitalize "wallobjectdata" to "WallObjectData".

Narcle

2010-10-10 12:39:38

From: pyroryan
Totally forgot about your post lol. Anyways, I don't know what the GetID2 are for, they don't seem to be used at all. As for the GetID, until someone actually asks me to find them because the person wants to use the hooks, I won't bother hunting for them. Usefulness is subjective, so I'll just tell you that they're used in Objects.simba.

Edit: All the GetID hooks found.


Actually they ARE usable if we had them… they are for more internal objects that require them. However Drags was the only one that knew where to get them, I looked multiple times for them but I haven't a clue where they are.

pyroryan

2010-10-10 12:41:16

From: Narcle
Actually they ARE usable if we had them… they are for more internal objects that require them. However Drags was the only one that knew where to get them, I looked multiple times for them but I haven't a clue where they are.


I just added them to the post for anyone wanting to early test the hooks.