[TFS 1.X] Enums

Discussion in 'Programming & Scripting' started by Evan, Dec 10, 2014.

  1. Evan

    Evan A splendid one to behold Premium User

    Joined:
    May 6, 2009
    Messages:
    7,011
    Likes Received:
    922
    Best Answers:
    0
    Source: luascript.cpp
    Last Update: December 10, 2014 11:41 AM ET


    Account Type
    Code (Text):
    1. ACCOUNT_TYPE_NORMAL
    2. ACCOUNT_TYPE_TUTOR
    3. ACCOUNT_TYPE_SENIORTUTOR
    4. ACCOUNT_TYPE_GAMEMASTER
    5. ACCOUNT_TYPE_GOD
    6.  
    Combat Callback
    Code (Text):
    1. CALLBACK_PARAM_LEVELMAGICVALUE
    2. CALLBACK_PARAM_SKILLVALUE
    3. CALLBACK_PARAM_TARGETTILE
    4. CALLBACK_PARAM_TARGETCREATURE
    5.  
    Combat Formula
    Code (Text):
    1. COMBAT_FORMULA_UNDEFINED
    2. COMBAT_FORMULA_LEVELMAGIC
    3. COMBAT_FORMULA_SKILL
    4. COMBAT_FORMULA_DAMAGE
    5.  
    Direction
    Code (Text):
    1. NORTH
    2. EAST
    3. SOUTH
    4. WEST
    5. SOUTHWEST
    6. SOUTHEAST
    7. NORTHWEST
    8. NORTHEAST
    9.  
    Combat Damage Type
    Code (Text):
    1. COMBAT_NONE
    2. COMBAT_PHYSICALDAMAGE
    3. COMBAT_ENERGYDAMAGE
    4. COMBAT_EARTHDAMAGE
    5. COMBAT_FIREDAMAGE
    6. COMBAT_UNDEFINEDDAMAGE
    7. COMBAT_LIFEDRAIN
    8. COMBAT_MANADRAIN
    9. COMBAT_HEALING
    10. COMBAT_DROWNDAMAGE
    11. COMBAT_ICEDAMAGE
    12. COMBAT_HOLYDAMAGE
    13. COMBAT_DEATHDAMAGE
    14.  
    Combat Action Type
    Code (Text):
    1. COMBAT_PARAM_TYPE
    2. COMBAT_PARAM_EFFECT
    3. COMBAT_PARAM_DISTANCEEFFECT
    4. COMBAT_PARAM_BLOCKSHIELD
    5. COMBAT_PARAM_BLOCKARMOR
    6. COMBAT_PARAM_TARGETCASTERORTOPMOST
    7. COMBAT_PARAM_CREATEITEM
    8. COMBAT_PARAM_AGGRESSIVE
    9. COMBAT_PARAM_DISPEL
    10. COMBAT_PARAM_USECHARGES
    11.  
    Condition Type
    Code (Text):
    1. CONDITION_NONE
    2. CONDITION_POISON
    3. CONDITION_FIRE
    4. CONDITION_ENERGY
    5. CONDITION_BLEEDING
    6. CONDITION_HASTE
    7. CONDITION_PARALYZE
    8. CONDITION_OUTFIT
    9. CONDITION_INVISIBLE
    10. CONDITION_LIGHT
    11. CONDITION_MANASHIELD
    12. CONDITION_INFIGHT
    13. CONDITION_DRUNK
    14. CONDITION_EXHAUST_WEAPON
    15. CONDITION_REGENERATION
    16. CONDITION_SOUL
    17. CONDITION_DROWN
    18. CONDITION_MUTED
    19. CONDITION_CHANNELMUTEDTICKS
    20. CONDITION_YELLTICKS
    21. CONDITION_ATTRIBUTES
    22. CONDITION_FREEZING
    23. CONDITION_DAZZLED
    24. CONDITION_CURSED
    25. CONDITION_EXHAUST_COMBAT
    26. CONDITION_EXHAUST_HEAL
    27. CONDITION_PACIFIED
    28. CONDITION_SPELLCOOLDOWN
    29. CONDITION_SPELLGROUPCOOLDOWN
    30.  
    Slot Condition ID
    Code (Text):
    1. CONDITIONID_DEFAULT
    2. CONDITIONID_COMBAT
    3. CONDITIONID_HEAD
    4. CONDITIONID_NECKLACE
    5. CONDITIONID_BACKPACK
    6. CONDITIONID_ARMOR
    7. CONDITIONID_RIGHT
    8. CONDITIONID_LEFT
    9. CONDITIONID_LEGS
    10. CONDITIONID_FEET
    11. CONDITIONID_RING
    12. CONDITIONID_AMMO
    13.  
    Condition Action Type
    Code (Text):
    1. CONDITION_PARAM_OWNER
    2. CONDITION_PARAM_TICKS
    3. CONDITION_PARAM_HEALTHGAIN
    4. CONDITION_PARAM_HEALTHTICKS
    5. CONDITION_PARAM_MANAGAIN
    6. CONDITION_PARAM_MANATICKS
    7. CONDITION_PARAM_DELAYED
    8. CONDITION_PARAM_SPEED
    9. CONDITION_PARAM_LIGHT_LEVEL
    10. CONDITION_PARAM_LIGHT_COLOR
    11. CONDITION_PARAM_SOULGAIN
    12. CONDITION_PARAM_SOULTICKS
    13. CONDITION_PARAM_MINVALUE
    14. CONDITION_PARAM_MAXVALUE
    15. CONDITION_PARAM_STARTVALUE
    16. CONDITION_PARAM_TICKINTERVAL
    17. CONDITION_PARAM_FORCEUPDATE
    18. CONDITION_PARAM_SKILL_MELEE
    19. CONDITION_PARAM_SKILL_FIST
    20. CONDITION_PARAM_SKILL_CLUB
    21. CONDITION_PARAM_SKILL_SWORD
    22. CONDITION_PARAM_SKILL_AXE
    23. CONDITION_PARAM_SKILL_DISTANCE
    24. CONDITION_PARAM_SKILL_SHIELD
    25. CONDITION_PARAM_SKILL_FISHING
    26. CONDITION_PARAM_STAT_MAXHITPOINTS
    27. CONDITION_PARAM_STAT_MAXMANAPOINTS
    28. CONDITION_PARAM_STAT_SOULPOINTS
    29. CONDITION_PARAM_STAT_MAGICPOINTS
    30. CONDITION_PARAM_STAT_MAXHITPOINTSPERCENT
    31. CONDITION_PARAM_STAT_MAXMANAPOINTSPERCENT
    32. CONDITION_PARAM_STAT_SOULPOINTSPERCENT
    33. CONDITION_PARAM_STAT_MAGICPOINTSPERCENT
    34. CONDITION_PARAM_PERIODICDAMAGE
    35. CONDITION_PARAM_SKILL_MELEEPERCENT
    36. CONDITION_PARAM_SKILL_FISTPERCENT
    37. CONDITION_PARAM_SKILL_CLUBPERCENT
    38. CONDITION_PARAM_SKILL_SWORDPERCENT
    39. CONDITION_PARAM_SKILL_AXEPERCENT
    40. CONDITION_PARAM_SKILL_DISTANCEPERCENT
    41. CONDITION_PARAM_SKILL_SHIELDPERCENT
    42. CONDITION_PARAM_SKILL_FISHINGPERCENT
    43. CONDITION_PARAM_BUFF_SPELL
    44. CONDITION_PARAM_SUBID
    45. CONDITION_PARAM_FIELD
    46.  
    Magic Effect
    Code (Text):
    1. CONST_ME_DRAWBLOOD
    2. CONST_ME_LOSEENERGY
    3. CONST_ME_POFF
    4. CONST_ME_BLOCKHIT
    5. CONST_ME_EXPLOSIONAREA
    6. CONST_ME_EXPLOSIONHIT
    7. CONST_ME_FIREAREA
    8. CONST_ME_YELLOW_RINGS
    9. CONST_ME_GREEN_RINGS
    10. CONST_ME_HITAREA
    11. CONST_ME_TELEPORT
    12. CONST_ME_ENERGYHIT
    13. CONST_ME_MAGIC_BLUE
    14. CONST_ME_MAGIC_RED
    15. CONST_ME_MAGIC_GREEN
    16. CONST_ME_HITBYFIRE
    17. CONST_ME_HITBYPOISON
    18. CONST_ME_MORTAREA
    19. CONST_ME_SOUND_GREEN
    20. CONST_ME_SOUND_RED
    21. CONST_ME_POISONAREA
    22. CONST_ME_SOUND_YELLOW
    23. CONST_ME_SOUND_PURPLE
    24. CONST_ME_SOUND_BLUE
    25. CONST_ME_SOUND_WHITE
    26. CONST_ME_BUBBLES
    27. CONST_ME_CRAPS
    28. CONST_ME_GIFT_WRAPS
    29. CONST_ME_FIREWORK_YELLOW
    30. CONST_ME_FIREWORK_RED
    31. CONST_ME_FIREWORK_BLUE
    32. CONST_ME_STUN
    33. CONST_ME_SLEEP
    34. CONST_ME_WATERCREATURE
    35. CONST_ME_GROUNDSHAKER
    36. CONST_ME_HEARTS
    37. CONST_ME_FIREATTACK
    38. CONST_ME_ENERGYAREA
    39. CONST_ME_SMALLCLOUDS
    40. CONST_ME_HOLYDAMAGE
    41. CONST_ME_BIGCLOUDS
    42. CONST_ME_ICEAREA
    43. CONST_ME_ICETORNADO
    44. CONST_ME_ICEATTACK
    45. CONST_ME_STONES
    46. CONST_ME_SMALLPLANTS
    47. CONST_ME_CARNIPHILA
    48. CONST_ME_PURPLEENERGY
    49. CONST_ME_YELLOWENERGY
    50. CONST_ME_HOLYAREA
    51. CONST_ME_BIGPLANTS
    52. CONST_ME_CAKE
    53. CONST_ME_GIANTICE
    54. CONST_ME_WATERSPLASH
    55. CONST_ME_PLANTATTACK
    56. CONST_ME_TUTORIALARROW
    57. CONST_ME_TUTORIALSQUARE
    58. CONST_ME_MIRRORHORIZONTAL
    59. CONST_ME_MIRRORVERTICAL
    60. CONST_ME_SKULLHORIZONTAL
    61. CONST_ME_SKULLVERTICAL
    62. CONST_ME_ASSASSIN
    63. CONST_ME_STEPSHORIZONTAL
    64. CONST_ME_BLOODYSTEPS
    65. CONST_ME_STEPSVERTICAL
    66. CONST_ME_YALAHARIGHOST
    67. CONST_ME_BATS
    68. CONST_ME_SMOKE
    69. CONST_ME_INSECTS
    70. CONST_ME_DRAGONHEAD
    71. CONST_ME_ORCSHAMAN
    72. CONST_ME_ORCSHAMAN_FIRE
    73. CONST_ME_THUNDER
    74. CONST_ME_FERUMBRAS
    75. CONST_ME_CONFETTI_HORIZONTAL
    76. CONST_ME_CONFETTI_VERTICAL
    77. CONST_ME_BLACKSMOKE
    78. CONST_ME_NONE
    79.  
    Distance Effect
    Code (Text):
    1. CONST_ANI_SPEAR
    2. CONST_ANI_BOLT
    3. CONST_ANI_ARROW
    4. CONST_ANI_FIRE
    5. CONST_ANI_ENERGY
    6. CONST_ANI_POISONARROW
    7. CONST_ANI_BURSTARROW
    8. CONST_ANI_THROWINGSTAR
    9. CONST_ANI_THROWINGKNIFE
    10. CONST_ANI_SMALLSTONE
    11. CONST_ANI_DEATH
    12. CONST_ANI_LARGEROCK
    13. CONST_ANI_SNOWBALL
    14. CONST_ANI_POWERBOLT
    15. CONST_ANI_POISON
    16. CONST_ANI_INFERNALBOLT
    17. CONST_ANI_HUNTINGSPEAR
    18. CONST_ANI_ENCHANTEDSPEAR
    19. CONST_ANI_REDSTAR
    20. CONST_ANI_GREENSTAR
    21. CONST_ANI_ROYALSPEAR
    22. CONST_ANI_SNIPERARROW
    23. CONST_ANI_ONYXARROW
    24. CONST_ANI_PIERCINGBOLT
    25. CONST_ANI_WHIRLWINDSWORD
    26. CONST_ANI_WHIRLWINDAXE
    27. CONST_ANI_WHIRLWINDCLUB
    28. CONST_ANI_ETHEREALSPEAR
    29. CONST_ANI_ICE
    30. CONST_ANI_EARTH
    31. CONST_ANI_HOLY
    32. CONST_ANI_SUDDENDEATH
    33. CONST_ANI_FLASHARROW
    34. CONST_ANI_FLAMMINGARROW
    35. CONST_ANI_SHIVERARROW
    36. CONST_ANI_ENERGYBALL
    37. CONST_ANI_SMALLICE
    38. CONST_ANI_SMALLHOLY
    39. CONST_ANI_SMALLEARTH
    40. CONST_ANI_EARTHARROW
    41. CONST_ANI_EXPLOSION
    42. CONST_ANI_CAKE
    43. CONST_ANI_TARSALARROW
    44. CONST_ANI_VORTEXBOLT
    45. CONST_ANI_PRISMATICBOLT
    46. CONST_ANI_CRYSTALLINEARROW
    47. CONST_ANI_DRILLBOLT
    48. CONST_ANI_ENVENOMEDARROW
    49. CONST_ANI_WEAPONTYPE
    50. CONST_ANI_NONE
    51.  
    Object Property Type
    Code (Text):
    1. CONST_PROP_BLOCKSOLID
    2. CONST_PROP_HASHEIGHT
    3. CONST_PROP_BLOCKPROJECTILE
    4. CONST_PROP_BLOCKPATH
    5. CONST_PROP_ISVERTICAL
    6. CONST_PROP_ISHORIZONTAL
    7. CONST_PROP_MOVEABLE
    8. CONST_PROP_IMMOVABLEBLOCKSOLID
    9. CONST_PROP_IMMOVABLEBLOCKPATH
    10. CONST_PROP_IMMOVABLENOFIELDBLOCKPATH
    11. CONST_PROP_NOFIELDBLOCKPATH
    12. CONST_PROP_SUPPORTHANGABLE
    13.  
    Slot Type
    Code (Text):
    1. CONST_SLOT_HEAD
    2. CONST_SLOT_NECKLACE
    3. CONST_SLOT_BACKPACK
    4. CONST_SLOT_ARMOR
    5. CONST_SLOT_RIGHT
    6. CONST_SLOT_LEFT
    7. CONST_SLOT_LEGS
    8. CONST_SLOT_FEET
    9. CONST_SLOT_RING
    10. CONST_SLOT_AMMO
    11.  
    Game State
    Code (Text):
    1. GAME_STATE_STARTUP
    2. GAME_STATE_INIT
    3. GAME_STATE_NORMAL
    4. GAME_STATE_CLOSED
    5. GAME_STATE_SHUTDOWN
    6. GAME_STATE_CLOSING
    7. GAME_STATE_MAINTAIN
    8.  
    Message Type
    Code (Text):
    1. MESSAGE_STATUS_CONSOLE_BLUE
    2. MESSAGE_STATUS_CONSOLE_RED
    3. MESSAGE_STATUS_DEFAULT
    4. MESSAGE_STATUS_WARNING
    5. MESSAGE_EVENT_ADVANCE
    6. MESSAGE_STATUS_SMALL
    7. MESSAGE_INFO_DESCR
    8. MESSAGE_DAMAGE_DEALT
    9. MESSAGE_DAMAGE_RECEIVED
    10. MESSAGE_HEALED
    11. MESSAGE_EXPERIENCE
    12. MESSAGE_DAMAGE_OTHERS
    13. MESSAGE_HEALED_OTHERS
    14. MESSAGE_EXPERIENCE_OTHERS
    15. MESSAGE_EVENT_DEFAULT
    16. MESSAGE_EVENT_ORANGE
    17. MESSAGE_STATUS_CONSOLE_ORANGE
    18.  
    Client OS Type
    Code (Text):
    1. CLIENTOS_LINUX
    2. CLIENTOS_WINDOWS
    3. CLIENTOS_FLASH
    4. CLIENTOS_OTCLIENT_LINUX
    5. CLIENTOS_OTCLIENT_WINDOWS
    6. CLIENTOS_OTCLIENT_MAC
    7.  
    Item Attribute
    Code (Text):
    1. ITEM_ATTRIBUTE_NONE
    2. ITEM_ATTRIBUTE_ACTIONID
    3. ITEM_ATTRIBUTE_UNIQUEID
    4. ITEM_ATTRIBUTE_DESCRIPTION
    5. ITEM_ATTRIBUTE_TEXT
    6. ITEM_ATTRIBUTE_DATE
    7. ITEM_ATTRIBUTE_WRITER
    8. ITEM_ATTRIBUTE_NAME
    9. ITEM_ATTRIBUTE_ARTICLE
    10. ITEM_ATTRIBUTE_PLURALNAME
    11. ITEM_ATTRIBUTE_WEIGHT
    12. ITEM_ATTRIBUTE_ATTACK
    13. ITEM_ATTRIBUTE_DEFENSE
    14. ITEM_ATTRIBUTE_EXTRADEFENSE
    15. ITEM_ATTRIBUTE_ARMOR
    16. ITEM_ATTRIBUTE_HITCHANCE
    17. ITEM_ATTRIBUTE_SHOOTRANGE
    18. ITEM_ATTRIBUTE_OWNER
    19. ITEM_ATTRIBUTE_DURATION
    20. ITEM_ATTRIBUTE_DECAYSTATE
    21. ITEM_ATTRIBUTE_CORPSEOWNER
    22. ITEM_ATTRIBUTE_CHARGES
    23. ITEM_ATTRIBUTE_FLUIDTYPE
    24. ITEM_ATTRIBUTE_DOORID
    25.  
    Item Type
    Code (Text):
    1. ITEM_TYPE_DEPOT
    2. ITEM_TYPE_MAILBOX
    3. ITEM_TYPE_TRASHHOLDER
    4. ITEM_TYPE_CONTAINER
    5. ITEM_TYPE_DOOR
    6. ITEM_TYPE_MAGICFIELD
    7. ITEM_TYPE_TELEPORT
    8. ITEM_TYPE_BED
    9. ITEM_TYPE_KEY
    10. ITEM_TYPE_RUNE
    11.  
    Item Constant
    Code (Text):
    1. ITEM_GOLD_COIN
    2. ITEM_PLATINUM_COIN
    3. ITEM_CRYSTAL_COIN
    4. ITEM_PARCEL
    5. ITEM_LABEL
    6. ITEM_FIREFIELD_PVP_FULL
    7. ITEM_FIREFIELD_PVP_MEDIUM
    8. ITEM_FIREFIELD_PVP_SMALL
    9. ITEM_FIREFIELD_PERSISTENT_FULL
    10. ITEM_FIREFIELD_PERSISTENT_MEDIUM
    11. ITEM_FIREFIELD_PERSISTENT_SMALL
    12. ITEM_FIREFIELD_NOPVP
    13. ITEM_POISONFIELD_PVP
    14. ITEM_POISONFIELD_PERSISTENT
    15. ITEM_POISONFIELD_NOPVP
    16. ITEM_ENERGYFIELD_PVP
    17. ITEM_ENERGYFIELD_PERSISTENT
    18. ITEM_ENERGYFIELD_NOPVP
    19. ITEM_MAGICWALL
    20. ITEM_MAGICWALL_PERSISTENT
    21. ITEM_MAGICWALL_SAFE
    22. ITEM_WILDGROWTH
    23. ITEM_WILDGROWTH_PERSISTENT
    24. ITEM_WILDGROWTH_SAFE
     
  2. Evan

    Evan A splendid one to behold Premium User

    Joined:
    May 6, 2009
    Messages:
    7,011
    Likes Received:
    922
    Best Answers:
    0
    Player Flag
    Code (Text):
    1. PlayerFlag_CannotUseCombat
    2. PlayerFlag_CannotAttackPlayer
    3. PlayerFlag_CannotAttackMonster
    4. PlayerFlag_CannotBeAttacked
    5. PlayerFlag_CanConvinceAll
    6. PlayerFlag_CanSummonAll
    7. PlayerFlag_CanIllusionAll
    8. PlayerFlag_CanSenseInvisibility
    9. PlayerFlag_IgnoredByMonsters
    10. PlayerFlag_NotGainInFight
    11. PlayerFlag_HasInfiniteMana
    12. PlayerFlag_HasInfiniteSoul
    13. PlayerFlag_HasNoExhaustion
    14. PlayerFlag_CannotUseSpells
    15. PlayerFlag_CannotPickupItem
    16. PlayerFlag_CanAlwaysLogin
    17. PlayerFlag_CanBroadcast
    18. PlayerFlag_CanEditHouses
    19. PlayerFlag_CannotBeBanned
    20. PlayerFlag_CannotBePushed
    21. PlayerFlag_HasInfiniteCapacity
    22. PlayerFlag_CanPushAllCreatures
    23. PlayerFlag_CanTalkRedPrivate
    24. PlayerFlag_CanTalkRedChannel
    25. PlayerFlag_TalkOrangeHelpChannel
    26. PlayerFlag_NotGainExperience
    27. PlayerFlag_NotGainMana
    28. PlayerFlag_NotGainHealth
    29. PlayerFlag_NotGainSkill
    30. PlayerFlag_SetMaxSpeed
    31. PlayerFlag_SpecialVIP
    32. PlayerFlag_NotGenerateLoot
    33. PlayerFlag_CanTalkRedChannelAnonymous
    34. PlayerFlag_IgnoreProtectionZone
    35. PlayerFlag_IgnoreSpellCheck
    36. PlayerFlag_IgnoreWeaponCheck
    37. PlayerFlag_CannotBeMuted
    38. PlayerFlag_IsAlwaysPremium
    39.  
    Player Sex
    Code (Text):
    1. PLAYERSEX_FEMALE
    2. PLAYERSEX_MALE
    3.  
    Skill Type
    Code (Text):
    1. SKILL_FIST
    2. SKILL_CLUB
    3. SKILL_SWORD
    4. SKILL_AXE
    5. SKILL_DISTANCE
    6. SKILL_SHIELD
    7. SKILL_FISHING
    8. SKILL_MAGLEVEL
    9. SKILLVALUE_LEVEL
    10.  
    Skull Type
    Code (Text):
    1. SKULL_NONE
    2. SKULL_YELLOW
    3. SKULL_GREEN
    4. SKULL_WHITE
    5. SKULL_RED
    6. SKULL_BLACK
    7. SKULL_ORANGE
    8.  
    Talk Type
    Code (Text):
    1. TALKTYPE_SAY
    2. TALKTYPE_WHISPER
    3. TALKTYPE_YELL
    4. TALKTYPE_PRIVATE_FROM
    5. TALKTYPE_PRIVATE_TO
    6. TALKTYPE_CHANNEL_Y
    7. TALKTYPE_CHANNEL_O
    8. TALKTYPE_PRIVATE_NP
    9. TALKTYPE_PRIVATE_PN
    10. TALKTYPE_BROADCAST
    11. TALKTYPE_CHANNEL_R1
    12. TALKTYPE_PRIVATE_RED_FROM
    13. TALKTYPE_PRIVATE_RED_TO
    14. TALKTYPE_MONSTER_SAY
    15. TALKTYPE_MONSTER_YELL
    16. TALKTYPE_CHANNEL_R2
    17. TALKTYPE_CHANNEL_W
    18.  
    Text Color
    Code (Text):
    1. TEXTCOLOR_BLUE
    2. TEXTCOLOR_LIGHTGREEN
    3. TEXTCOLOR_LIGHTBLUE
    4. TEXTCOLOR_MAYABLUE
    5. TEXTCOLOR_DARKRED
    6. TEXTCOLOR_LIGHTGREY
    7. TEXTCOLOR_SKYBLUE
    8. TEXTCOLOR_PURPLE
    9. TEXTCOLOR_RED
    10. TEXTCOLOR_ORANGE
    11. TEXTCOLOR_YELLOW
    12. TEXTCOLOR_WHITE_EXP
    13. TEXTCOLOR_NONE
    14.  
    Tile State
    Code (Text):
    1. TILESTATE_NONE
    2. TILESTATE_PROTECTIONZONE
    3. TILESTATE_DEPRECATED_HOUSE
    4. TILESTATE_NOPVPZONE
    5. TILESTATE_NOLOGOUT
    6. TILESTATE_PVPZONE
    7. TILESTATE_REFRESH
    8. TILESTATE_HOUSE
    9. TILESTATE_FLOORCHANGE
    10. TILESTATE_FLOORCHANGE_DOWN
    11. TILESTATE_FLOORCHANGE_NORTH
    12. TILESTATE_FLOORCHANGE_SOUTH
    13. TILESTATE_FLOORCHANGE_EAST
    14. TILESTATE_FLOORCHANGE_WEST
    15. TILESTATE_TELEPORT
    16. TILESTATE_MAGICFIELD
    17. TILESTATE_MAILBOX
    18. TILESTATE_TRASHHOLDER
    19. TILESTATE_BED
    20. TILESTATE_DEPOT
    21. TILESTATE_BLOCKSOLID
    22. TILESTATE_BLOCKPATH
    23. TILESTATE_IMMOVABLEBLOCKSOLID
    24. TILESTATE_IMMOVABLEBLOCKPATH
    25. TILESTATE_IMMOVABLENOFIELDBLOCKPATH
    26. TILESTATE_NOFIELDBLOCKPATH
    27. TILESTATE_DYNAMIC_TILE
    28. TILESTATE_FLOORCHANGE_SOUTH_ALT
    29. TILESTATE_FLOORCHANGE_EAST_ALT
    30. TILESTATE_SUPPORTS_HANGABLE
    31.  
    Weapon Type
    Code (Text):
    1. WEAPON_NONE
    2. WEAPON_SWORD
    3. WEAPON_CLUB
    4. WEAPON_AXE
    5. WEAPON_SHIELD
    6. WEAPON_DISTANCE
    7. WEAPON_WAND
    8. WEAPON_AMMO
    9.  
    World PVP Type
    Code (Text):
    1. WORLD_TYPE_NO_PVP
    2. WORLD_TYPE_PVP
    3. WORLD_TYPE_PVP_ENFORCED
    4.  
    Additional Flags
    Code (Text):
    1. // Use with container:addItem, container:addItemEx and possibly other functions.
    2. FLAG_NOLIMIT
    3. FLAG_IGNOREBLOCKITEM
    4. FLAG_IGNOREBLOCKCREATURE
    5. FLAG_CHILDISOWNER
    6. FLAG_PATHFINDING
    7. FLAG_IGNOREFIELDDAMAGE
    8. FLAG_IGNORENOTMOVEABLE
    9. FLAG_IGNOREAUTOSTACK
    10.  
    ItemType Slot Type
    Code (Text):
    1. // Use with itemType:getSlotPosition
    2. SLOTP_WHEREEVER
    3. SLOTP_HEAD
    4. SLOTP_NECKLACE
    5. SLOTP_BACKPACK
    6. SLOTP_ARMOR
    7. SLOTP_RIGHT
    8. SLOTP_LEFT
    9. SLOTP_LEGS
    10. SLOTP_FEET
    11. SLOTP_RING
    12. SLOTP_AMMO
    13. SLOTP_DEPOT
    14. SLOTP_TWO_HAND
    15.  
    Combat Origin Type
    Code (Text):
    1. // Use with combat functions
    2. ORIGIN_NONE
    3. ORIGIN_CONDITION
    4. ORIGIN_SPELL
    5. ORIGIN_MELEE
    6. ORIGIN_RANGED
    7.  
    House Access Type
    Code (Text):
    1. // Use with house:getAccessList, house:setAccessList
    2. GUEST_LIST
    3. SUBOWNER_LIST
    4.  
    Speech Bubble Type
    Code (Text):
    1. // Use with npc:setSpeechBubble
    2. SPEECHBUBBLE_NONE
    3. SPEECHBUBBLE_NORMAL
    4. SPEECHBUBBLE_TRADE
    5. SPEECHBUBBLE_QUEST
    6. SPEECHBUBBLE_QUESTTRADER
    7.  
    Map Mark Type
    Code (Text):
    1. // Use with player:addMapMark
    2. MAPMARK_TICK
    3. MAPMARK_QUESTION
    4. MAPMARK_EXCLAMATION
    5. MAPMARK_STAR
    6. MAPMARK_CROSS
    7. MAPMARK_TEMPLE
    8. MAPMARK_KISS
    9. MAPMARK_SHOVEL
    10. MAPMARK_SWORD
    11. MAPMARK_FLAG
    12. MAPMARK_LOCK
    13. MAPMARK_BAG
    14. MAPMARK_SKULL
    15. MAPMARK_DOLLAR
    16. MAPMARK_REDNORTH
    17. MAPMARK_REDSOUTH
    18. MAPMARK_REDEAST
    19. MAPMARK_REDWEST
    20. MAPMARK_GREENNORTH
    21. MAPMARK_GREENSOUTH
    22.  
    Game Return Type
    Code (Text):
    1. // Use with Game.getReturnMessage
    2. RETURNVALUE_NOERROR
    3. RETURNVALUE_NOTPOSSIBLE
    4. RETURNVALUE_NOTENOUGHROOM
    5. RETURNVALUE_PLAYERISPZLOCKED
    6. RETURNVALUE_PLAYERISNOTINVITED
    7. RETURNVALUE_CANNOTTHROW
    8. RETURNVALUE_THEREISNOWAY
    9. RETURNVALUE_DESTINATIONOUTOFREACH
    10. RETURNVALUE_CREATUREBLOCK
    11. RETURNVALUE_NOTMOVEABLE
    12. RETURNVALUE_DROPTWOHANDEDITEM
    13. RETURNVALUE_BOTHHANDSNEEDTOBEFREE
    14. RETURNVALUE_CANONLYUSEONEWEAPON
    15. RETURNVALUE_NEEDEXCHANGE
    16. RETURNVALUE_CANNOTBEDRESSED
    17. RETURNVALUE_PUTTHISOBJECTINYOURHAND
    18. RETURNVALUE_PUTTHISOBJECTINBOTHHANDS
    19. RETURNVALUE_TOOFARAWAY
    20. RETURNVALUE_FIRSTGODOWNSTAIRS
    21. RETURNVALUE_FIRSTGOUPSTAIRS
    22. RETURNVALUE_CONTAINERNOTENOUGHROOM
    23. RETURNVALUE_NOTENOUGHCAPACITY
    24. RETURNVALUE_CANNOTPICKUP
    25. RETURNVALUE_THISISIMPOSSIBLE
    26. RETURNVALUE_DEPOTISFULL
    27. RETURNVALUE_CREATUREDOESNOTEXIST
    28. RETURNVALUE_CANNOTUSETHISOBJECT
    29. RETURNVALUE_PLAYERWITHTHISNAMEISNOTONLINE
    30. RETURNVALUE_NOTREQUIREDLEVELTOUSERUNE
    31. RETURNVALUE_YOUAREALREADYTRADING
    32. RETURNVALUE_THISPLAYERISALREADYTRADING
    33. RETURNVALUE_YOUMAYNOTLOGOUTDURINGAFIGHT
    34. RETURNVALUE_DIRECTPLAYERSHOOT
    35. RETURNVALUE_NOTENOUGHLEVEL
    36. RETURNVALUE_NOTENOUGHMAGICLEVEL
    37. RETURNVALUE_NOTENOUGHMANA
    38. RETURNVALUE_NOTENOUGHSOUL
    39. RETURNVALUE_YOUAREEXHAUSTED
    40. RETURNVALUE_PLAYERISNOTREACHABLE
    41. RETURNVALUE_CANONLYUSETHISRUNEONCREATURES
    42. RETURNVALUE_ACTIONNOTPERMITTEDINPROTECTIONZONE
    43. RETURNVALUE_YOUMAYNOTATTACKTHISPLAYER
    44. RETURNVALUE_YOUMAYNOTATTACKAPERSONINPROTECTIONZONE
    45. RETURNVALUE_YOUMAYNOTATTACKAPERSONWHILEINPROTECTIONZONE
    46. RETURNVALUE_YOUMAYNOTATTACKTHISCREATURE
    47. RETURNVALUE_YOUCANONLYUSEITONCREATURES
    48. RETURNVALUE_CREATUREISNOTREACHABLE
    49. RETURNVALUE_TURNSECUREMODETOATTACKUNMARKEDPLAYERS
    50. RETURNVALUE_YOUNEEDPREMIUMACCOUNT
    51. RETURNVALUE_YOUNEEDTOLEARNTHISSPELL
    52. RETURNVALUE_YOURVOCATIONCANNOTUSETHISSPELL
    53. RETURNVALUE_YOUNEEDAWEAPONTOUSETHISSPELL
    54. RETURNVALUE_PLAYERISPZLOCKEDLEAVEPVPZONE
    55. RETURNVALUE_PLAYERISPZLOCKEDENTERPVPZONE
    56. RETURNVALUE_ACTIONNOTPERMITTEDINANOPVPZONE
    57. RETURNVALUE_YOUCANNOTLOGOUTHERE
    58. RETURNVALUE_YOUNEEDAMAGICITEMTOCASTSPELL
    59. RETURNVALUE_CANNOTCONJUREITEMHERE
    60. RETURNVALUE_YOUNEEDTOSPLITYOURSPEARS
    61. RETURNVALUE_NAMEISTOOAMBIGIOUS
    62. RETURNVALUE_CANONLYUSEONESHIELD
    63. RETURNVALUE_NOPARTYMEMBERSINRANGE
    64. RETURNVALUE_YOUARENOTTHEOWNER
    65.  
    Config.lua Key
    Code (Text):
    1. configKeys.ALLOW_CHANGEOUTFIT
    2. configKeys.CANNOT_ATTACK_SAME_LOOKFEET
    3. configKeys.ONE_PLAYER_ON_ACCOUNT
    4. configKeys.AIMBOT_HOTKEY_ENABLED
    5. configKeys.REMOVE_AMMO
    6. configKeys.REMOVE_RUNE_CHARGES
    7. configKeys.EXPERIENCE_FROM_PLAYERS
    8. configKeys.FREE_PREMIUM
    9. configKeys.REPLACE_KICK_ON_LOGIN
    10. configKeys.ALLOW_CLONES
    11. configKeys.BIND_ONLY_GLOBAL_ADDRESS
    12. configKeys.OPTIMIZE_DATABASE
    13. configKeys.MARKET_PREMIUM
    14. configKeys.EMOTE_SPELLS
    15. configKeys.STAMINA_SYSTEM
    16. configKeys.WARN_UNSAFE_SCRIPTS
    17. configKeys.CONVERT_UNSAFE_SCRIPTS
    18.  
    Config.lua Key
    Code (Text):
    1. configKeys.MAP_NAME
    2. configKeys.HOUSE_RENT_PERIOD
    3. configKeys.SERVER_NAME
    4. configKeys.OWNER_NAME
    5. configKeys.OWNER_EMAIL
    6. configKeys.URL
    7. configKeys.LOCATION
    8. configKeys.IP
    9. configKeys.MOTD
    10. configKeys.WORLD_TYPE
    11. configKeys.MYSQL_HOST
    12. configKeys.MYSQL_USER
    13. configKeys.MYSQL_PASS
    14. configKeys.MYSQL_DB
    15. configKeys.MYSQL_SOCK
    16. configKeys.DEFAULT_PRIORITY
    17. configKeys.MAP_AUTHOR
    18.  
    Config.lua Key
    Code (Text):
    1. configKeys.SQL_PORT
    2. configKeys.MAX_PLAYERS
    3. configKeys.PZ_LOCKED
    4. configKeys.DEFAULT_DESPAWNRANGE
    5. configKeys.DEFAULT_DESPAWNRADIUS
    6. configKeys.RATE_EXPERIENCE
    7. configKeys.RATE_SKILL
    8. configKeys.RATE_LOOT
    9. configKeys.RATE_MAGIC
    10. configKeys.RATE_SPAWN
    11. configKeys.HOUSE_PRICE
    12. configKeys.KILLS_TO_RED
    13. configKeys.KILLS_TO_BLACK
    14. configKeys.MAX_MESSAGEBUFFER
    15. configKeys.ACTIONS_DELAY_INTERVAL
    16. configKeys.EX_ACTIONS_DELAY_INTERVAL
    17. configKeys.KICK_AFTER_MINUTES
    18. configKeys.PROTECTION_LEVEL
    19. configKeys.DEATH_LOSE_PERCENT
    20. configKeys.STATUSQUERY_TIMEOUT
    21. configKeys.FRAG_TIME
    22. configKeys.WHITE_SKULL_TIME
    23. configKeys.GAME_PORT
    24. configKeys.LOGIN_PORT
    25. configKeys.STATUS_PORT
    26. configKeys.STAIRHOP_DELAY
    27. configKeys.MARKET_OFFER_DURATION
    28. configKeys.CHECK_EXPIRED_MARKET_OFFERS_EACH_MINUTES
    29. configKeys.MAX_MARKET_OFFERS_AT_A_TIME_PER_PLAYER
    30. configKeys.EXP_FROM_PLAYERS_LEVEL_RANGE
    31. configKeys.MAX_PACKETS_PER_SECOND
    32.  
    Unknown
    Code (Text):
    1. INDEX_WHEREEVER
    2. VIRTUAL_PARENT
    3.  
     
  3. esfomeado

    esfomeado N o_0 B

    Joined:
    Nov 29, 2010
    Messages:
    276
    Likes Received:
    19
    Best Answers:
    0
    You are the real MVP!
     
  4. Eldin

    Eldin Eldin Projects

    Joined:
    Jun 12, 2008
    Messages:
    1,259
    Likes Received:
    505
    Best Answers:
    0
    That makes everything easier for sure.
    Thanks again Evan.

    Kind Regards,
    Eldin.
     
  5. Evil Puncker

    Evil Puncker I'd rather kiss a rattlesnake

    Joined:
    May 30, 2009
    Messages:
    5,366
    Likes Received:
    1,593
    Best Answers:
    1
    great!! time to update it again by the way @Evan xD
     
  6. whitevo

    whitevo Feeling good, thats what I do.

    Joined:
    Jan 2, 2015
    Messages:
    3,304
    Likes Received:
    561
    Best Answers:
    1
    Can someone explain each of these Enums below?
    CONST_PROP_BLOCKSOLID
    CONST_PROP_HASHEIGHT
    CONST_PROP_BLOCKPROJECTILE
    CONST_PROP_BLOCKPATH
    CONST_PROP_ISVERTICAL
    CONST_PROP_ISHORIZONTAL
    CONST_PROP_MOVEABLE
    CONST_PROP_IMMOVABLEBLOCKSOLID
    CONST_PROP_IMMOVABLEBLOCKPATH
    CONST_PROP_IMMOVABLENOFIELDBLOCKPATH
    CONST_PROP_NOFIELDBLOCKPATH
    CONST_PROP_SUPPORTHANGABLE

    Because it feels like half of do the same thing.
     
  7. whitevo

    whitevo Feeling good, thats what I do.

    Joined:
    Jan 2, 2015
    Messages:
    3,304
    Likes Received:
    561
    Best Answers:
    1
    Still going with trial and errors here xD
    @Evan
     
  8. Lordfire

    Lordfire aka ranisalt

    Joined:
    Jul 16, 2008
    Messages:
    227
    Likes Received:
    88
    Best Answers:
    1
    @whitevo they are different properties for any item. They do not do the same thing, they may look like so but they represent different properties.

    Example: BLOCKPATH determines the item blocks the path of a creature (random walk of monsters, or player autowalk), but monsters that push items still will push this item. If you do not want them to be pushed (such as large rocks), then that's IMMOVABLEBLOCKPATH. They represent almost the same thing, but they are slightly different.
     
  9. whitevo

    whitevo Feeling good, thats what I do.

    Joined:
    Jan 2, 2015
    Messages:
    3,304
    Likes Received:
    561
    Best Answers:
    1
    well yeah, that i understood, that is logical. Name pretty much says what is that flag used for.

    I was wondering more about what does these do:
    CONST_PROP_BLOCKSOLID
    CONST_PROP_HASHEIGHT
    CONST_PROP_ISVERTICAL
    CONST_PROP_ISHORIZONTAL
    CONST_PROP_SUPPORTHANGABLE
     
  10. Lordfire

    Lordfire aka ranisalt

    Joined:
    Jul 16, 2008
    Messages:
    227
    Likes Received:
    88
    Best Answers:
    1
    BLOCKSOLID blocks when you try to throw another item over it, HASHEIGHT means the item has height, like tables and other stuff that make you higher when you step over, ISVERTICAL/ISHORIZONTAL is for rotating purposes I guess, and SUPPORTHANGABLE means the item can support... hangables, like walls supporting curtains. I guess that's all? :p
     
    whitevo likes this.
  11. whitevo

    whitevo Feeling good, thats what I do.

    Joined:
    Jan 2, 2015
    Messages:
    3,304
    Likes Received:
    561
    Best Answers:
    1
    oh, I see, ty
     
  12. rydda

    rydda New Member

    Joined:
    Jan 11, 2009
    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Your a saviour! God i didn't think i needed to stare at these when it was 0.3.6 etc. But i miss it haha, and it speeds up alot of guessing on names etc. xD
    THanks man!
     
  13. Static_

    Static_ Premium User Premium User

    Joined:
    Feb 14, 2015
    Messages:
    2,588
    Likes Received:
    1,047
    Best Answers:
    119
    updated magic/distance effects (with numbers) for 1.2 if anyone needs
    Code (Text):
    1.  
    2. Magic Effect
    3.  
    4. CONST_ME_DRAWBLOOD           [1]
    5. CONST_ME_LOSEENERGY          [2]
    6. CONST_ME_POFF                [3]
    7. CONST_ME_BLOCKHIT            [4]
    8. CONST_ME_EXPLOSIONAREA       [5]
    9. CONST_ME_EXPLOSIONHIT        [6]
    10. CONST_ME_FIREAREA            [7]
    11. CONST_ME_YELLOW_RINGS        [8]
    12. CONST_ME_GREEN_RINGS         [9]
    13. CONST_ME_HITAREA             [10]
    14. CONST_ME_TELEPORT            [11]
    15. CONST_ME_ENERGYHIT           [12]
    16. CONST_ME_MAGIC_BLUE          [13]
    17. CONST_ME_MAGIC_RED           [14]
    18. CONST_ME_MAGIC_GREEN         [15]
    19. CONST_ME_HITBYFIRE           [16]
    20. CONST_ME_HITBYPOISON         [17]
    21. CONST_ME_MORTAREA            [18]
    22. CONST_ME_SOUND_GREEN         [19]
    23. CONST_ME_SOUND_RED           [20]
    24. CONST_ME_POISONAREA          [21]
    25. CONST_ME_SOUND_YELLOW        [22]
    26. CONST_ME_SOUND_PURPLE        [23]
    27. CONST_ME_SOUND_BLUE          [24]
    28. CONST_ME_SOUND_WHITE         [25]
    29. CONST_ME_BUBBLES             [26]
    30. CONST_ME_CRAPS               [27]
    31. CONST_ME_GIFT_WRAPS          [28]
    32. CONST_ME_FIREWORK_YELLOW     [29]
    33. CONST_ME_FIREWORK_RED        [30]
    34. CONST_ME_FIREWORK_BLUE       [31]
    35. CONST_ME_STUN                [32]
    36. CONST_ME_SLEEP               [33]
    37. CONST_ME_WATERCREATURE       [34]
    38. CONST_ME_GROUNDSHAKER        [35]
    39. CONST_ME_HEARTS              [36]
    40. CONST_ME_FIREATTACK          [37]
    41. CONST_ME_ENERGYAREA          [38]
    42. CONST_ME_SMALLCLOUDS         [39]
    43. CONST_ME_HOLYDAMAGE          [40]
    44. CONST_ME_BIGCLOUDS           [41]
    45. CONST_ME_ICEAREA             [42]
    46. CONST_ME_ICETORNADO          [43]
    47. CONST_ME_ICEATTACK           [44]
    48. CONST_ME_STONES              [45]
    49. CONST_ME_SMALLPLANTS         [46]
    50. CONST_ME_CARNIPHILA          [47]
    51. CONST_ME_PURPLEENERGY        [48]
    52. CONST_ME_YELLOWENERGY        [49]
    53. CONST_ME_HOLYAREA            [50]
    54. CONST_ME_BIGPLANTS           [51]
    55. CONST_ME_CAKE                [52]
    56. CONST_ME_GIANTICE            [53]
    57. CONST_ME_WATERSPLASH         [54]
    58. CONST_ME_PLANTATTACK         [55]
    59. CONST_ME_TUTORIALARROW       [56]
    60. CONST_ME_TUTORIALSQUARE      [57]
    61. CONST_ME_MIRRORHORIZONTAL    [58]
    62. CONST_ME_MIRRORVERTICAL      [59]
    63. CONST_ME_SKULLHORIZONTAL     [60]
    64. CONST_ME_SKULLVERTICAL       [61]
    65. CONST_ME_ASSASSIN            [62]
    66. CONST_ME_STEPSHORIZONTAL     [63]
    67. CONST_ME_BLOODYSTEPS         [64]
    68. CONST_ME_STEPSVERTICAL       [65]
    69. CONST_ME_YALAHARIGHOST       [66]
    70. CONST_ME_BATS                [67]
    71. CONST_ME_SMOKE               [68]
    72. CONST_ME_INSECTS             [69]
    73. CONST_ME_DRAGONHEAD          [70]
    74. CONST_ME_ORCSHAMAN           [71]
    75. CONST_ME_ORCSHAMAN_FIRE      [72]
    76. CONST_ME_THUNDER             [73]
    77. CONST_ME_FERUMBRAS           [74]
    78. CONST_ME_CONFETTI_HORIZONTAL [75]
    79. CONST_ME_CONFETTI_VERTICAL   [76]
    80. CONST_ME_BLACKSMOKE          [158]
    81. CONST_ME_REDSMOKE            [167]
    82. CONST_ME_YELLOWSMOKE         [168]
    83. CONST_ME_GREENSMOKE          [169]
    84. CONST_ME_PURPLESMOKE         [170]
    85. CONST_ME_NONE                [0]
    86.  
    87.  
    88.  
    89. Distance Effect
    90.  
    91. CONST_ANI_SPEAR            [1]
    92. CONST_ANI_BOLT             [2]
    93. CONST_ANI_ARROW            [3]
    94. CONST_ANI_FIRE             [4]
    95. CONST_ANI_ENERGY           [5]
    96. CONST_ANI_POISONARROW      [6]
    97. CONST_ANI_BURSTARROW       [7]
    98. CONST_ANI_THROWINGSTAR     [8]
    99. CONST_ANI_THROWINGKNIFE    [9]
    100. CONST_ANI_SMALLSTONE       [10]
    101. CONST_ANI_DEATH            [11]
    102. CONST_ANI_LARGEROCK        [12]
    103. CONST_ANI_SNOWBALL         [13]
    104. CONST_ANI_POWERBOLT        [14]
    105. CONST_ANI_POISON           [15]
    106. CONST_ANI_INFERNALBOLT     [16]
    107. CONST_ANI_HUNTINGSPEAR     [17]
    108. CONST_ANI_ENCHANTEDSPEAR   [18]
    109. CONST_ANI_REDSTAR          [19]
    110. CONST_ANI_GREENSTAR        [20]
    111. CONST_ANI_ROYALSPEAR       [21]
    112. CONST_ANI_SNIPERARROW      [22]
    113. CONST_ANI_ONYXARROW        [23]
    114. CONST_ANI_PIERCINGBOLT     [24]
    115. CONST_ANI_WHIRLWINDSWORD   [25]
    116. CONST_ANI_WHIRLWINDAXE     [26]
    117. CONST_ANI_WHIRLWINDCLUB    [27]
    118. CONST_ANI_ETHEREALSPEAR    [28]
    119. CONST_ANI_ICE              [29]
    120. CONST_ANI_EARTH            [30]
    121. CONST_ANI_HOLY             [31]
    122. CONST_ANI_SUDDENDEATH      [32]
    123. CONST_ANI_FLASHARROW       [33]
    124. CONST_ANI_FLAMMINGARROW    [34]
    125. CONST_ANI_SHIVERARROW      [35]
    126. CONST_ANI_ENERGYBALL       [36]
    127. CONST_ANI_SMALLICE         [37]
    128. CONST_ANI_SMALLHOLY        [38]
    129. CONST_ANI_SMALLEARTH       [39]
    130. CONST_ANI_EARTHARROW       [40]
    131. CONST_ANI_EXPLOSION        [41]
    132. CONST_ANI_CAKE             [42]
    133. CONST_ANI_TARSALARROW      [44]
    134. CONST_ANI_VORTEXBOLT       [45]
    135. CONST_ANI_PRISMATICBOLT    [48]
    136. CONST_ANI_CRYSTALLINEARROW [49]
    137. CONST_ANI_DRILLBOLT        [50]
    138. CONST_ANI_ENVENOMEDARROW   [51]
    139. CONST_ANI_GLOOTHSPEAR      [53]
    140. CONST_ANI_SIMPLEARROW      [54]
    141. CONST_ANI_NONE             [0]
    142.  
     

Share This Page

Loading...