pyroryan
2010-09-15 18:14:16
Most hooks updated.
Report any broken hooks please.
Report any broken hooks please.
{**
* 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 = 619;
{Static Hooks}
hook_static_LoginIndex = 'gs.e'; //619
hook_static_MyPlayer = 'rr.e'; //619
hook_static_BaseX = 'oe.j'; //619
hook_static_BaseY = 'ar.l'; //619
hook_static_NPCIndexArray = 'ur.r'; //619
hook_static_NPCNodes = 'sa.I'; //619
hook_static_NPCCount = 'sfa.J'; //619
hook_static_GroundSettingsArray = 'tj.t'; //619
hook_static_LoadedPlane = 'jda.J'; //619
hook_static_PlaneArray = 'an.c'; //619
hook_static_Toolkit = 'fd.n'; //619
hook_static_MapAngle = 'fga.H'; //619
hook_static_DestX = 'dfa.l'; //619
hook_static_DestY = 'mk.R'; //619
hook_static_MenuOptionCount = 'fca.m'; //619
hook_static_MenuX = 'ie.o'; //619
hook_static_MenuY = 'aa.h'; //619
hook_static_MenuOpen = 'lf.i'; //619
hook_static_MenuNodeList = 'aaa.k'; //619
hook_static_LoopCycle = 'd.H'; //619
hook_static_PlayerCount = 'cda.f'; //619
hook_static_PlayerIndexArray = 'nda.v'; //619
hook_static_GetPlayers = 'it.f'; //619
hook_static_GetSkillLevels = 'eu.i'; //619
hook_static_GetSkillExperiences = 'efa.xb'; //619
hook_static_GroundTiles = 'efa.yb'; //619
hook_static_GetInterfaces = 'jl.e'; //619
hook_static_ValidInterfaces = 'ar.r'; //619
hook_static_GetSettings = 'ek.J'; //619
hook_static_GroundItemCache = 'hd.h'; //619
hook_static_CamPosX = 'mq.B'; //619
hook_static_CamPosY = 'ifa.u'; //619
{Class Animable}
class_Animable = 'ir'; //619
hook_animable_PixelX = 'y'; //619
hook_animable_PixelY = 'x'; //619
hook_animable_Plane = 'l'; //619
{Class Player}
class_Player = 'kba'; //619
hook_player_GetLevel = 'id'; //619
hook_player_GetName = 'ed'; //619
hook_player_PlayerDef = 'pd'; //not updated
{Class Character}
class_Character = 'he'; //619
hook_character_GetHitDamges = 'Vb'; //check?-619
hook_character_Animation = 'bc'; //619
hook_character_Motion = 'Wc'; //619
hook_character_WalkQueueX = 'Pc'; //619
hook_character_WalkQueueY = 'Nc'; //619
hook_character_GetHeight = 'Xb'; //619
hook_character_LoopCycleStatus = 'Lb'; //619
hook_character_HPRatio = 'Z'; //619
hook_character_GetInteracting = 'Yb'; //619
hook_character_Orientation = 'Bc'; //619
{Class NPC}
class_NPC = 'nu'; //619
hook_npc_NPCDef = 'fd'; //619
{Class NPCDef}
class_NPCDef = 'iv'; //619
hook_npcdef_GetActions = 'tb'; //619
hook_npcdef_GetName = 'K'; //619
hook_npcdef_GetLevel = 's'; //619
hook_npcdef_GetID = 'Y'; //619
{Class NPCNode}
class_NPCNode = 'pt'; //619
hook_npcnode_GetNPC = 'i'; //619
{Class GroundTile}
class_GroundTile = 'kba'; //619
{Class Plane}
class_Plane = 'i'; //619
{Class RSInteractable}
class_RSInteractable = 'cv'; //619
{Class Toolkit}
class_Toolkit = 'r'; //check?-619
{Class Viewport}
class_Viewport = 'q'; //not updated
{Class SDViewport}
class_SDViewport = 'lu'; //619
hook_sdviewport_xOff = 'H'; //619
hook_sdviewport_xX = 'p'; //619
hook_sdviewport_xY = 'i'; //619
hook_sdviewport_xZ = 'l'; //619
hook_sdviewport_yOff = 'n'; //619
hook_sdviewport_yX = 'k'; //619
hook_sdviewport_yY = 'j'; //619
hook_sdviewport_yZ = 'J'; //619
hook_sdviewport_zOff = 'G'; //619
hook_sdviewport_zX = 'I'; //619
hook_sdviewport_zY = 'm'; //619
hook_sdviewport_zZ = 'F'; //619
{Class SDToolkit}
class_SDToolkit = 'rfa'; //619
hook_sdtoolkit_xMin = 'w'; //619
hook_sdtoolkit_xMax = 'F'; //619
hook_sdtoolkit_yMin = 'H'; //619
hook_sdtoolkit_yMax = 'R'; //619
hook_sdtoolkit_zMin = 'db'; //619
hook_sdtoolkit_zMax = 'ab'; //619
hook_sdtoolkit_xScale = 'z'; //619
hook_sdtoolkit_yScale = 'M'; //619
hook_sdtoolkit_Viewport = 'C'; //619
{Class SDPlane}
class_SDPlane = 'i'; //619
hook_sdplane_TileHeights = 'c'; //619
{Class NodeList}
class_NodeList = 'wo'; //619
hook_nodelist_Current = 'q'; //619
hook_nodelist_Head = 'g'; //619
{Class Node}
class_Node = 'jca'; //619
hook_node_Next = 'h'; //619
hook_node_Previous = 'g'; //619
hook_node_GetID = 'e'; //619
{Class Menu}
class_Menu = 'kr'; //619
hook_menu_Action = 'j'; //619
hook_menu_Option = 'r'; //619
{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 = 'ri'; //619
hook_AnimableNode_GetAnimable = 'd'; //619
hook_AnimableNode_GetNext = 'a'; //619
{Class ObjectInterface}
class_ObjectInterface = 'wv'; //619
hook_interface_GetActions = 'u'; //619
hook_interface_GetX = 'A'; //619
hook_interface_GetY = 'hc'; //619
hook_interface_GetWidth = 'r'; //619
hook_interface_GetHeight = 'zc'; //619
hook_interface_GetText = 'fd'; //619
hook_interface_GetTextureID = 'ob'; //619
hook_interface_GetTextColor = 'rc'; //619
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'Cb'; //619
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'ac'; //619
hook_interface_GetID = 'i'; //619
hook_interface_GetStack = 'n'; //619
{Class Ground}
class_Ground = 'se'; //619
hook_ground_AnimableList = 'o'; //619
hook_ground_WallObject1 = 'h'; //619
hook_ground_WallObject2 = 'i'; //619
hook_ground_WallDecoration1 = 'e'; //619
hook_ground_WallDecoration2 = 'd'; //619
hook_ground_FloorDecoration = 'f'; //619
//GroundItem crap.
//nodecache class wh
hook_nodecache_GetNodes = 'wh.a'; //619
//RSItem class ni
hook_item_GetID = 'ni.n'; //619
hook_item_GetStack = 'ni.o'; //619
//nodelistcache class oc
hook_nodelistcache_GetNodeList = 'oc.k'; //619
//Settings Array
hook_settingarray_GetData = 'ib.h'; //619
{
/////////////// 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 = 'ud'; //619
hook_interactiveobject_GetID = 'ib'; //619
hook_interactiveobject_getModel = 'lb'; //619
{Class InteractiveObject2}
class_InteractiveObject2 = 'qe'; //619
hook_interactiveobject2_getObjectData = 'nb'; //619
hook_interactiveobject_GetID2 = 'w.H'; //not updated
{Class SecondLevelObject}
class_SecondLevelObject = 'sw'; //619
//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