pyroryan
2010-11-05 20:00:00
I've ported most of my updater over to simba's format (for faster updates). I'd love it if someone could check to make sure the names are correct and that I'm not missing any needed hooks. I've already checked it once and only interfaces need work. If I'm missing something, just tell me, its easy to switch a boolean to add the hook to the list of hooks simba needs.
I know a lot of interface hook names are different. Thats the only problem I'm aware of atm.
So here it is, its been reorganized a bit.
I know a lot of interface hook names are different. Thats the only problem I'm aware of atm.
So here it is, its been reorganized a bit.
{**
* 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 = 627;
{Static Hooks}
hook_static_LoginIndex = 'uk.ob';
hook_static_MyPlayer = 'mk.s';
hook_static_BaseX = 'sf.n';
hook_static_BaseY = 'lo.r';
hook_static_NPCIndexArray = 'rg.Gb';
hook_static_LoopCycle = 'uda.h';
hook_static_NPCNodes = 'oe.f';
hook_static_NPCCount = 'nq.y';
hook_static_GroundSettingsArray = 'qea.h';
hook_static_LoadedPlane = 'pba.F';
hook_static_PlaneArray = 'ef.c';
hook_static_Toolkit = 'po.u';
hook_static_getInterfaces = 'tf.a';
hook_static_ValidInterfaces = 'rq.U';
hook_static_GetSettings = 'qaa.k';
hook_static_GroundItemCache = 'ud.o';
hook_static_getSkillExperiences = 'dt.g';
hook_static_getSkillLevels = 'raa.v';
hook_static_MapAngle = 'lr.Tb';
hook_static_DestX = 'sea.m';
hook_static_DestY = 'fga.i';
hook_static_MenuOptionCount = 'sea.l';
hook_static_MenuX = 'hv.m';
hook_static_MenuY = 'lq.i';
hook_static_MenuWidth = 'qba.d';
hook_static_MenuHeight = 'tw.b';
hook_static_MenuOpen = 'vt.C';
hook_static_MenuNodeList = 'pga.p';
hook_static_PlayerCount = 'dba.c';
hook_static_PlayerIndexArray = 'ts.t';
hook_static_GetPlayers = 'ts.q';
hook_static_CamPosX = 'kn.x';
hook_static_CamPosY = 'rn.kb';
hook_static_GroundTiles = 'rn.db';
{Class Animable}
class_Animable = 'caa';
hook_animable_PixelX = 'h';
hook_animable_PixelY = 'i';
hook_animable_Plane = 'r';
{Class Player}
class_Player = 'mq';
hook_player_GetTeam = 'Wc';
hook_player_GetLevel = 'sd';
hook_player_GetName = 'Pc';
hook_player_PlayerDef = 'ad';
{Class Character}
class_Character = 'rg';
hook_character_GetHitDamges = 'zb';
hook_character_Animation = 'Qb';
hook_character_Motion = 'Lc';
hook_character_WalkQueueX = 'Ec';
hook_character_WalkQueueY = 'Fc';
hook_character_GetHeight = 'Kb';
hook_character_LoopCycleStatus = 'S';
hook_character_HPRatio = 'J';
hook_character_GetInteracting = 'yc';
hook_character_Orientation = 'M';
{Class AnimableNode}
class_AnimableNode = 'jp';
hook_animablenode_getAnimable = 'i';
hook_animablenode_getNext = 'g';
{Class PlayerDef}
class_PlayerDef = 'rm';
hook_playerdef_GetEquipment = 'q';
hook_playerdef_GetModelID = 'j';
{Class NPC}
class_NPC = 'u';
hook_npc_NPCDef = 'Sc';
{Class NPCDef}
class_NPCDef = 'rda';
hook_npcdef_GetActions = 's';
hook_npcdef_GetName = 'V';
hook_npcdef_getLevel = 'k';
hook_npcdef_getID = 'j';
{Class NPCNode}
class_NPCNode = 'b';
hook_npcnode_GetNPC = 'm';
{Class GroundTile}
class_GroundTile = 'ms';
{Class Plane}
class_Plane = 'i';
{Class RSInteractable}
class_RSInteractable = 'mm';
{Class Toolkit}
class_Toolkit = 'r';
{Class Viewport}
class_Viewport = 'q';
{Class SDViewport}
class_SDViewport = 'nd';
hook_sdviewport_zOff = 's';
hook_sdviewport_zX = 'h';
hook_sdviewport_zY = 'm';
hook_sdviewport_zZ = 'z';
hook_sdviewport_xOff = 'w';
hook_sdviewport_xX = 'l';
hook_sdviewport_xY = 'u';
hook_sdviewport_xZ = 'n';
hook_sdviewport_yOff = 'd';
hook_sdviewport_yX = 'g';
hook_sdviewport_yY = 'x';
hook_sdviewport_yZ = 't';
{Class SDToolkit}
class_SDToolkit = 'st';
hook_sdtoolkit_xMin = 'J';
hook_sdtoolkit_xMax = 'E';
hook_sdtoolkit_xScale = 'U';
hook_sdtoolkit_yScale = 'V';
hook_sdtoolkit_yMin = 'y';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'I';
hook_sdtoolkit_zMax = 'L';
hook_sdtoolkit_Viewport = 'Q';
{Class SDPlane}
class_SDPlane = 'i';
hook_sdplane_TileHeights = 'c';
{Class SDModel}
class_SDModel = 'bga';
hook_sdmodel_getIndices1 = 'w';
hook_sdmodel_getIndices2 = 'Sb';
hook_sdmodel_getIndices3 = 'N';
hook_sdmodel_getPointsX = 'B';
hook_sdmodel_getPointsY = 'M';
hook_sdmodel_getPointsZ = 'ub';
{Class NodeList}
class_NodeList = 'dc';
hook_nodelist_Current = 's';
hook_nodelist_Head = 'b';
{Class Node}
class_Node = 'du';
hook_node_Next = 'd';
hook_node_Previous = 'b';
hook_node_GetID = 'g';
{Class Menu}
class_Menu = 'jw';
hook_menu_Action = 'j';
hook_menu_Option = 'm';
{Class Interfaces}
class_Interfaces = 'ps';
hook_interfaces_GetTextColor = 'ic';
hook_interfaces_GetModelID = 'sb';
hook_interfaces_GetX = 'T';
hook_interfaces_GetY = 'lc';
hook_interfaces_GetWidth2 = 'ld';
hook_interfaces_GetHeight2 = 'P';
hook_interfaces_IsHidden = 'Ic';
hook_interfaces_GetParentID = 'ab';
hook_interfaces_GetID = 'E';
hook_interfaces_GetComponentID = 'y';
hook_interfaces_GetComponentStackSize = 'vb';
hook_interfaces_GetComponentIndex = 's';
hook_interfaces_GetActions = 'pb';
hook_interfaces_GetComponentName = 'Gb';
hook_interfaces_GetText = 'xc';
hook_interfaces_GetTextureID = 'Tb';
hook_interfaces_GetComponents = 'wb';
{Class NodeCache}
class_NodeCache = 'efa';
hook_nodecache_getNodes = 'l';
{Class Item}
class_Item = 'n';
hook_item_GetID = 'i';
hook_item_GetStackSize = 'j';
{Class NodeListCache}
class_NodeListCache = 'bba';
hook_nodelistcache_getNodeList = 'i';
{Class SettingArray}
class_SettingArray = 'ii';
hook_settingarray_getData = 'o';
{Class Ground}
class_Ground = 'ms';
hook_ground_FloorDecoration = 'o';
hook_ground_WallDecoration2 = 'l';
hook_ground_WallDecoration1 = 'r';
hook_ground_WallObject2 = 'k';
hook_ground_WallObject1 = 'm';
hook_ground_AnimableList = 'j';
{Class WallObjectData}
class_WallObjectData = 'uk';
hook_wallobjectdata_getID = 'ab';
{Class WallDecorationData}
class_WallDecorationData = 'lu';
hook_walldecorationdata_getID = 'ab';
{Class FloorDecorationData}
class_FloorDecorationData = 'di';
hook_floordecorationdata_getID = 'H';
{Class InteractiveObject}
class_InteractiveObject = 'lw';
hook_interactiveobject_getModel = 'K';
hook_interactiveobject_getID = 'qb';
{Class InteractiveObjectSub}
class_InteractiveObjectSub = 'jg';
hook_interactiveobjectsub_getObjectData = 'hb';
{Class SecondLevelObject}
class_SecondLevelObject = 'nq';
hook_secondlevelobject_getID = 'F';
{Class GrandExchange}
class_GrandExchange = 'el';
hook_grandexchange_getStatus = 'c';
hook_grandexchange_getID = 'e';
hook_grandexchange_getPrice = 'a';
hook_grandexchange_getTotal = 'j';
hook_grandexchange_getTransferred = 'h';
hook_grandexchange_getSpent = 'g';