pyroryan
2010-09-07 15:36:43
{**
* 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 = 617;
{Static Hooks}
hook_static_LoginIndex = 'wv.t'; //617
hook_static_MyPlayer = 'eq.x'; //617
hook_static_BaseX = 'od.n'; //617
hook_static_BaseY = 'ae.v'; //617
hook_static_NPCIndexArray = 'qv.h'; //617
hook_static_NPCNodes = 'gda.j'; //617
hook_static_NPCCount = 'qda.z'; //617
hook_static_GroundSettingsArray = 'dk.i'; //617
hook_static_LoadedPlane = 'mca.g'; //617
hook_static_PlaneArray = 'ec.p'; //617
hook_static_Toolkit = 'hba.t'; //617
hook_static_MapAngle = 'sca.j'; //617
hook_static_DestX = 'mc.H'; //617
hook_static_DestY = 'qj.v'; //617
hook_static_MenuOptionCount = 'li.o'; //617
hook_static_MenuX = 's.E'; //617
hook_static_MenuY = 'mn.U'; //617
hook_static_MenuOpen = 'mf.e'; //617
hook_static_MenuNodeList = 'nga.l'; //617
hook_static_LoopCycle = 'jca.d'; //617
hook_static_PlayerCount = 'ki.g'; //617
hook_static_PlayerIndexArray = 'nr.t'; //617
hook_static_GetPlayers = 'ji.R'; //617
hook_static_GetSkillLevels = 'nw.O'; //617
hook_static_GetSkillExperiences = 'mt.b'; //617
hook_static_GroundTiles = 'lr.a'; //617
hook_static_GetInterfaces = 'rg.c'; //617
hook_static_ValidInterfaces = 'raa.N'; //617
hook_static_GetSettings = 'tn.f'; //617
hook_static_GroundItemCache = 'sm.kb'; //617
hook_static_CamPosX = 's.B'; //617
hook_static_CamPosY = 'vm.f'; //617
{Class Animable}
class_Animable = 'ag'; //617
hook_animable_PixelX = 'n'; //617
hook_animable_PixelY = 'f'; //617
hook_animable_Plane = 'c'; //617
{Class Player}
class_Player = 'st'; //617
hook_player_GetLevel = 'kd'; //617
hook_player_GetName = 'hd'; //617
hook_player_PlayerDef = 'pd'; //not updated
{Class Character}
class_Character = 'vj'; //617
hook_character_GetHitDamges = 'I'; //check?-617
hook_character_Animation = 'T'; //617
hook_character_Motion = 'ic'; //617
hook_character_WalkQueueX = 'jc'; //617
hook_character_WalkQueueY = 'pc'; //617
hook_character_GetHeight = 'G'; //617
hook_character_LoopCycleStatus = 'vb'; //617
hook_character_HPRatio = 'cc'; //617
hook_character_GetInteracting = 'v'; //617
hook_character_Orientation = 'lb'; //617
{Class NPC}
class_NPC = 'hfa'; //617
hook_npc_NPCDef = 'Ic'; //617
{Class NPCDef}
class_NPCDef = 'ci'; //617
hook_npcdef_GetActions = 'c'; //617
hook_npcdef_GetName = 'ab'; //617
hook_npcdef_GetLevel = 'Y'; //617
hook_npcdef_GetID = 'a'; //617
{Class NPCNode}
class_NPCNode = 'vt'; //617
hook_npcnode_GetNPC = 'j'; //617
{Class GroundTile}
class_GroundTile = 'fba'; //617
{Class Plane}
class_Plane = 'd'; //not updated
{Class RSInteractable}
class_RSInteractable = 'ni'; //617
{Class Toolkit}
class_Toolkit = 'oa';
{Class Viewport}
class_Viewport = 'q';
{Class SDViewport}
class_SDViewport = 'pt'; //617
hook_sdviewport_xOff = 'n'; //617
hook_sdviewport_xX = 'k'; //617
hook_sdviewport_xY = 'g'; //617
hook_sdviewport_xZ = 'r'; //617
hook_sdviewport_yOff = 'j'; //617
hook_sdviewport_yX = 'm'; //617
hook_sdviewport_yY = 'i'; //617
hook_sdviewport_yZ = 'h'; //617
hook_sdviewport_zOff = 'l'; //617
hook_sdviewport_zX = 'q'; //617
hook_sdviewport_zY = 'p'; //617
hook_sdviewport_zZ = 'o'; //617
{Class SDToolkit}
class_SDToolkit = 'qe'; //617
hook_sdtoolkit_xMin = 'R'; //617
hook_sdtoolkit_xMax = 'Z'; //617
hook_sdtoolkit_yMin = 'jb'; //617
hook_sdtoolkit_yMax = 'G'; //617
hook_sdtoolkit_zMin = 'z'; //617
hook_sdtoolkit_zMax = 'y'; //617
hook_sdtoolkit_xScale = 'ib'; //617
hook_sdtoolkit_yScale = 'ab'; //617
hook_sdtoolkit_Viewport = 'B'; //617
{Class SDPlane}
class_SDPlane = 'bs'; //617
hook_sdplane_TileHeights = 'x'; //617
{Class NodeList}
class_NodeList = 'gj'; //617
hook_nodelist_Current = 'o'; //617
hook_nodelist_Head = 'n'; //617
{Class Node}
class_Node = 'rc'; //617
hook_node_Next = 'a'; //617
hook_node_Previous = 'b'; //617
hook_node_GetID = 'c'; //617
{Class Menu}
class_Menu = 'fg'; //617
hook_menu_Action = 's'; //617
hook_menu_Option = 'l'; //617
{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 = 'bo'; //617
hook_AnimableNode_GetAnimable = 'b'; //617
hook_AnimableNode_GetNext = 'a'; //617
{Class ObjectInterface}
class_ObjectInterface = 'gba'; //617
hook_interface_GetActions = 'O'; //617
hook_interface_GetX = 'N'; //617
hook_interface_GetY = 'S'; //617
hook_interface_GetWidth = 'zb'; //617
hook_interface_GetHeight = 'Kb'; //617
hook_interface_GetText = 'sb'; //617
hook_interface_GetTextureID = 'p';
hook_interface_GetTextColor = 'pc';
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'hb'; //617
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'Rc'; //617
hook_interface_GetID = 'Ac'; //617
hook_interface_GetStack = 'Qb'; //617
{Class Ground}
class_Ground = 'fba'; //617
hook_ground_AnimableList = 'o'; //617
hook_ground_WallObject1 = 'l'; //617
hook_ground_WallObject2 = 'q'; //617
hook_ground_WallDecoration1 = 's'; //617
hook_ground_WallDecoration2 = 'b'; //617
hook_ground_FloorDecoration = 'B'; //617
//GroundItem crap.
//nodecache class jw
hook_nodecache_GetNodes = 'jw.b'; //617
//RSItem class qd
hook_item_GetID = 'qd.m'; //617
hook_item_GetStack = 'qd.n'; //617
//nodelistcache class es
hook_nodelistcache_GetNodeList = 'es.i'; //617
//Settings Array
hook_settingarray_GetData = 'ui.l'; //617
{
/////////////// 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 = 'bq'; //617
hook_interactiveobject_GetID = 's'; //617
hook_interactiveobject_getModel = 'B'; //617
{Class InteractiveObject2}
class_InteractiveObject2 = 'uca'; //617
hook_interactiveobject2_getObjectData = 'z'; //617
hook_interactiveobject_GetID2 = 'w.H'; //not updated
{Class SecondLevelObject}
class_SecondLevelObject = 'wc'; //617
//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
{**
* 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 = 617;
{Static Hooks}
hook_static_LoginIndex = 'wv.t';
hook_static_MyPlayer = 'eq.x';
hook_static_BaseX = 'od.n';
hook_static_BaseY = 'ae.v';
hook_static_NPCIndexArray = 'qv.h';
hook_static_NPCNodes = 'gda.j';
hook_static_NPCCount = 'qda.z';
hook_static_GroundSettingsArray = 'dk.i';
hook_static_LoadedPlane = 'mca.g';
hook_static_PlaneArray = 'ec.p';
hook_static_Toolkit = 'hba.t';
hook_static_MapAngle = 'sca.j';
hook_static_DestX = 'mc.H';
hook_static_DestY = 'qj.v';
hook_static_MenuOptionCount = 'li.o';
hook_static_MenuX = 's.E';
hook_static_MenuY = 'mn.U';
hook_static_MenuOpen = 'mf.e';
hook_static_MenuNodeList = 'nga.l';
hook_static_LoopCycle = 'jca.d';
hook_static_PlayerCount = 'ki.g';
hook_static_PlayerIndexArray = 'nr.t';
hook_static_GetPlayers = 'ji.R';
hook_static_GetSkillLevels = 'nw.O';
hook_static_GetSkillExperiences = 'mt.b';
hook_static_GroundTiles = 'lr.a';
hook_static_GetInterfaces = 'rg.c';
hook_static_ValidInterfaces = 'raa.N';
hook_static_GetSettings = 'tn.f';
hook_static_GroundItemCache = 'sm.kb';
hook_static_CamPosX = 's.B';
hook_static_CamPosY = 'vm.f';
{Class Animable}
class_Animable = 'ag';
hook_animable_PixelX = 'n';
hook_animable_PixelY = 'f';
hook_animable_Plane = 'c';
{Class Player}
class_Player = 'st';
hook_player_GetLevel = 'kd';
hook_player_GetName = 'hd';
hook_player_PlayerDef = 'pd'; //not updated
{Class Character}
class_Character = 'vj';
hook_character_GetHitDamges = 'I'; //check?-617
hook_character_Animation = 'T';
hook_character_Motion = 'ic';
hook_character_WalkQueueX = 'jc';
hook_character_WalkQueueY = 'pc';
hook_character_GetHeight = 'G';
hook_character_LoopCycleStatus = 'vb';
hook_character_HPRatio = 'cc';
hook_character_GetInteracting = 'v';
hook_character_Orientation = 'lb';
{Class NPC}
class_NPC = 'hfa';
hook_npc_NPCDef = 'Ic';
{Class NPCDef}
class_NPCDef = 'ci';
hook_npcdef_GetActions = 'c';
hook_npcdef_GetName = 'ab';
hook_npcdef_GetLevel = 'Y';
hook_npcdef_GetID = 'a';
{Class NPCNode}
class_NPCNode = 'vt';
hook_npcnode_GetNPC = 'j';
{Class GroundTile}
class_GroundTile = 'fba';
{Class Plane}
class_Plane = 'd'; //not updated
{Class RSInteractable}
class_RSInteractable = 'ni';
{Class Toolkit}
class_Toolkit = 'oa';
{Class Viewport}
class_Viewport = 'q';
{Class SDViewport}
class_SDViewport = 'pt';
hook_sdviewport_xOff = 'n';
hook_sdviewport_xX = 'k';
hook_sdviewport_xY = 'g';
hook_sdviewport_xZ = 'r';
hook_sdviewport_yOff = 'j';
hook_sdviewport_yX = 'm';
hook_sdviewport_yY = 'i';
hook_sdviewport_yZ = 'h';
hook_sdviewport_zOff = 'l';
hook_sdviewport_zX = 'q';
hook_sdviewport_zY = 'p';
hook_sdviewport_zZ = 'o';
{Class SDToolkit}
class_SDToolkit = 'qe';
hook_sdtoolkit_xMin = 'R';
hook_sdtoolkit_xMax = 'Z';
hook_sdtoolkit_yMin = 'jb';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'z';
hook_sdtoolkit_zMax = 'y';
hook_sdtoolkit_xScale = 'ib';
hook_sdtoolkit_yScale = 'ab';
hook_sdtoolkit_Viewport = 'B';
{Class SDPlane}
class_SDPlane = 'bs';
hook_sdplane_TileHeights = 'x';
{Class NodeList}
class_NodeList = 'gj';
hook_nodelist_Current = 'o';
hook_nodelist_Head = 'n';
{Class Node}
class_Node = 'rc';
hook_node_Next = 'a';
hook_node_Previous = 'b';
hook_node_GetID = 'c';
{Class Menu}
class_Menu = 'fg';
hook_menu_Action = 's';
hook_menu_Option = 'l';
{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 = 'bo';
hook_AnimableNode_GetAnimable = 'b';
hook_AnimableNode_GetNext = 'a';
{Class ObjectInterface}
class_ObjectInterface = 'gba';
hook_interface_GetActions = 'O';
hook_interface_GetX = 'N';
hook_interface_GetY = 'S';
hook_interface_GetWidth = 'zb';
hook_interface_GetHeight = 'Kb';
hook_interface_GetText = 'sb';
hook_interface_GetTextureID = 'p';
hook_interface_GetTextColor = 'pc';
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'hb';
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'Rc';
hook_interface_GetID = 'Ac';
hook_interface_GetStack = 'Qb';
{Class Ground}
class_Ground = 'fba';
hook_ground_AnimableList = 'o';
hook_ground_WallObject1 = 'l';
hook_ground_WallObject2 = 'q';
hook_ground_WallDecoration1 = 's';
hook_ground_WallDecoration2 = 'b';
hook_ground_FloorDecoration = 'B';
//GroundItem crap.
//nodecache class jw
hook_nodecache_GetNodes = 'jw.b';
//RSItem class qd
hook_item_GetID = 'qd.m';
hook_item_GetStack = 'qd.n';
//nodelistcache class es
hook_nodelistcache_GetNodeList = 'es.i';
//Settings Array
hook_settingarray_GetData = 'ui.l';
{
/////////////// 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 = 'bq';
hook_interactiveobject_GetID = 's';
hook_interactiveobject_getModel = 'B';
{Class InteractiveObject2}
class_InteractiveObject2 = 'uca';
hook_interactiveobject2_getObjectData = 'z';
hook_interactiveobject_GetID2 = 'w.H'; //not updated
{Class SecondLevelObject}
class_SecondLevelObject = 'wc';
//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