My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
ConstantsEditor  
How to use Constants Editor
Featured, Phase-Support, Phase-Deploy
Updated Feb 4, 2010 by Oskari.V...@gmail.com

Introduction

Constants editor lets you modify the Constants.xml file which is located at TTB_DIR\Config\Constants.xml. You can reach the Constants Editor from Tray Icon -> Constants Editor.

Content

Constants.xml file contains every data that Bot uses. You can find the very memory addresses, but what's more important: you can find the options of the bot. In case you want to use FPS Changer you can define the FPS for the changer. These are the default values for the FPS changer:

FPSWhenActive: 100
FPSWhenInactive: 1
FPSWhenMinimized: 1
FPSWhenHidden: 1

As you see the names of the options are pretty self-explanatory.

How to Use

Open Constants Editor and you'll see two columns. One with the names and another with the values. Double click a value to change it. IMPORTANT: If the value is a number, remember to add a decimal point and a zero even if the value is a whole number (e.g use 2.0 instead of 2). When the value is a Boolean: True or False (On or Off respectively). Don't put anything else on these values.

If you aren't 100% sure of what you are doing make a backup copy of the Constants.xml file first!

Constants and Explanations

NameDefault ValueDescription
IRCConnectOnStartUpTrueEnables automatic connection to the IRC server irc.quakenet.org after character login.
IRCJoinAfterConnectedTrueEnables automatic joining to the IRC channel #tibiatekbot at irc.quakenet.org after connecting to this server.
TTMessagesEnabledTrueAllow TTB to poll the TibiaTek database for any feedback responses from the TibiaTek Development Team.
TTMessagesInterval3600000Interval at which the bot polls for feedback responses.
IRCNickname Sets the default nickname for the IRC Channel.
IRCPassword Sets the default password for the IRC Nickname.
LatestVersionUrlhttp://www.tibiatek.com/version.phpLocation where TibiaTek bot checks if it's up to date, do not change this.
AutoPublishLocationFalseOption for &sendlocation command, enables automatic publishing of the character's location.
AutoPublishLocationInterval600000Option for &sendlocation command, time interval between publishing of the character's location.
CreatureExpMultiplier1.0Used in &exp creature on|off command. Change this when using bot with Private Server what has different experience rate.
ShowInvisibleCreaturesTrueShow invisible creatures as white druids automatically.
MusicalNotesOnAlarmTrueWhen alarming show musical note animation top of you character.
DebugOnLogFalseUsed for debugging.
ClearLogOnStartupTrueUsed for debugging
LootWithCavebotTrueOption for &cavebot command. You can determine if you want to loot with the cavebot. You can also define this value from the Cavebot window.
CavebotLootMinCap0Option for &cavebot command. Tells the Cavebot when it's time to stop looting. You can also define it from the Cavebot window.
CavebotAttackerRadius5.0Option for &cavebot and &attacker commands. Determines the distance to attack between the cavebot/attacker and the creature. You may want to change this if you are hunting in open areas or a narrow cave.
CavebotAttackerShrinkRadius1.0Used by the cavebot to calculate other players' distance from creatures. Makes the cavebot ignore any monsters found within other players' specific radii. This is because players usually avoid attacking a creature if another player closer to it than you are.
WaypointMaxDistance100Option to set the waypoints max distance
LootDelay500Option for &loot command. Delay at which the Auto Looter will start gathering items. The value is in milliseconds.
LootInBagTrueOption for &loot command. Determines if the Auto Looter opens bags inside monsters to loot them.
LootInBagDelay500Option for &loot command. Delay at which the Auto Looter will start gathering items from the bags. The value is in milliseconds.
LootEatFromCorpseTrueOption for &loot command. Determines if the Auto Looter eats the food inside corpses.
LootMaxDistance2.9Option for &loot command. Determines the max distance for the Auto Looter to walk and open the corpse. If you want it too loot just the tiles around you, use the value 1.5.
AutoOpenBackpackTrueAutomatically open your backpack after logging in.
EatFromFloorTrueOption for &eat command. Determines if Auto Eater eats from floor too.
EatFromFloorFirstTrue Option for &eat command. Determines if the Auto Eater eats first from the floor, and then from backpack.
EatFromFloorMaxDistance1.5Option for &eat command. Determines the maximum distance for eating the food from the floor.
AutoEaterInterval30000 Option for &eat command. Determines the default interval at which it should try to eat.
AutoEaterSmartInterval"60000Option for &eat command. Determines the interval at which it should try to eat when the smart option is enabled.
AutoPickUpDelay2000Option for &pickup command. Determines the delay for the Auto Pickup to pickup the item. The value is in milliseconds.
HealersCheckInterval300Option for &heal command. Determines the delay for Auto Healer to check your heal. The value is in milliseconds.
HealersAfterHealDelay300Option for &heal command. Determines the delay after healing. Value is in milliseconds.
SpellCasterInterval1000Option for &spell command. Determines the interval at which it checks your minimum mana points to decide whether to cast the spell or not.
SpellCasterDelay4000Option for &spell command. Determines the delay after casting.
HotkeysCanEquipItemsTrueDetermines can you bind hotkeys to equip items.
EquipItemsOnUseTrueDetermines can you equip items on use.
AutoStackerDelay1000Option for &stacker command. Determines the delay for the Auto Stacker. It stacks one item at a time. The value is in milliseconds.
ModifyMOTDTrueUse modified MOTD when connecting.
SmartAttackerTrueIf enabled, auto attacker will attack to the closest enemy.
FPSWhenActive10Determines the Frame Per Second when the Tibia Window is active.
FPSWhenInactive1Determines the Frame Per Second when the Tibia Window is inactive.
FPSWhenMinimized1Determines the Frame Per Second when the Tibia Window is minimized.
FPSWhenHidden1Determines the Frame Per Second when the Tibia Window is hidden.
FlashTaskbarWhenMessagedFalseDetermines if the taskbar flashes when a message (Public or Private) arrives.
FlashTaskbarWhenAlarmFiresTrueDetermines if the taskbar flashes when an alarm fires.
StatsUploaderSaveOnDiskOnlyFalseOption for &uploadstats command. Determines if the stats are to be uploaded/saved only to your disk. Use this if you don't have FTP acces to any server.
StatsUploaderUrlftp.server.comDetermines the URL of the FTP server.
StatsUploaderPath/Path where to upload the stats in the FTP server.
StatsUploaderFilenamestats.xmlFilename of the file to be uploaded.
StatsUploaderUserIDuseridUsername used to connect to the FTP server.
StatsUploaderPasswordpasswordPassword used to connect to the FTP server.
StatsUploaderFrequency30000Time interval for the Stats Uploader to upload yourstats.
AntiLogoutInterval30000Time interval for the Anti Logout feature to check how long you have been idle.

Memory Addresses And Offsets for Tibia 8.00

Do not change these unless you know what you are doing

NameDefault Value
ptrWindowBeginH6198B4
WindowLeftOffsetH14
WindowTopOffsetH18
WindowWidthOffsetH1C
WindowHeightOffsetH20
WindowCaptionOffsetH50
WindowButtonPressedOffsetH28
WindowButton1OffsetH2C
WindowButton2OffsetH30
WindowButton3OffsetH34
WindowButton4OffsetH38
ptrInGameH766DF8
ptrFrameRateBeginH76793C
ptrEnterOneNamePerLineH594670
ptrForYourInformationH595968
ptrCharacterSelectionIndexH766DB8
ptrEncryptionKeyH7637AC
ptrRSAKeyH593610
RSAKeyOpenTibia109120132967...
ptrServerAddressBeginH75EAE8
ptrServerPortBeginH75EB4C
ServerAddressDistH70
ServerAddressCountHA
ptrCharacterIDH60EAD0
ptrBattleListBeginH60EB30
ptrFirstContainerH617000
ptrInventoryBeginH616f88
ptrLevelH60EAC0
ptrLevelPercentH60EAB8
ptrMagicLevelH60EABC
ptrMagicLevelPercentH60EAB4
ptrExperienceH60EAC4
ptrFollowedEntityIDH60EA98
ptrAttackedEntityIDH60EA9C
ptrLastAttackedEntityIDH76DA10
ptrMaxHitPointsH60EAC8
ptrHitPointsH60EACC
ptrMaxManaPointsH60EAAC
ptrManaPointsH60EAB0
ptrSoulPointsH60EAA8
ptrCapacityH60EAA0
ptrCoordXH6198F8
ptrCoordYH6198F4
ptrCoordZH6198F0
ptrSecureModeH763BCC
ptrFightingModeH763BD4
ptrChasingModeH763BD0
ptrMapPointerH61E408
ptrConditionsH60EA58
ptrVipListBeginH60C7F0
ptrSkillsBeginH60EA78
ptrSkillsPercentBeginH60EA5C
ptrStaminaH60EAA4
ptrGoToXH60EB14
ptrGoToYH60EB10
ptrGoToZH60EB0C
ptrHotkeyBeginH763C18
ptrStatusMessageH768458
ptrStatusMessageTimerH768454
ptrCharacterListBeginH766DBC
CharacterListDistH54
CharacterListWorldOffsetH30
HotkeyMaxH24
HotkeyItemDataOffsetH90
HotkeyItemOffsetH120
HotkeyItemDist4
HotkeyTextAutoSendOffsetH1B0
HotkeyTextAutoSendDist1
HotkeyTextOffsetH1D8
HotkeyTextDistH100
BLMaxH96
BLDistHA0
BLNameOffsetH4
BLCoordXOffsetH24
BLCoordYOffsetH28
BLCoordZOffsetH2C
BLDirectionOffsetH50
BLWalkingOffsetH4C
BLOutfitOffsetH60
BLHeadCOffsetH64
BLBodyCOffsetH68
BLLegsCOffsetH6C
BLFeetCOffsetH70
BLAddonsOffsetH74
BLLightIntensityOffsetH78
BLLightColorOffsetH7C
BLHPPercentOffsetH88
BLSpeedOffsetH8C
BLOnScreenOffsetH90
BLSkullOffsetH94
BLPartyOffsetH98
MaxContainersH10
ContainerDistH1EC
ContainerIDOffset4
ContainerNameOffsetH10
ContainerSizeOffsetH30
ContainerHasParentOffsetH34
ContainerItemCountOffsetH38
ContainerFirstItemOffsetH3C
ItemDistHC
ItemCountOffset4
MapObjectIdOffset4
MapObjectDataOffset8
MapObjectExtraDataOffsetHC
MapObjectDistHC
MapTileDistHAC
VipMaxH64
VipNameOffset4
VipStatusOffsetH22
VipDistH2C
SkillsDist4
FrameRateCurrentOffsetH60
FrameRateLimitOffsetH58
ptrNameSpyH4DD2D7
ptrNameSpy2H4DD2E1
NameSpyDefaultH4C75
NameSpy2DefaultH4275
MCPatchOffsetHF6224
MCPatchReplacementHEB
MCPatchOriginalH75


Sign in to add a comment
Powered by Google Project Hosting