Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Realm Relay v1.1.0 Script Documentation
- designed for ROTMG v17.3+
- ________________________________________________________________
- :INDEX
- - Slot type info - SLOTTYPES
- - Object data info - OBJECTS
- - Packet data info - PACKETS
- ________________________________________________________________
- :SLOTTYPES
- Abilities
- 4
- 5
- 11
- 12
- 13
- 15
- 16
- 18
- 19
- 20
- 21
- 22
- 23
- 25
- Consumables
- 10
- Weapons
- 1
- 2
- 3
- 8
- 17
- 24
- Armor
- 6
- 7
- 14
- Rings
- 9
- ________________________________________________________________
- :OBJECTS
- BitmapData
- int width
- int height;
- byte[] bytes;
- Entity
- short objectType
- Status status
- Status
- int objectId
- Location pos
- StatData[] data
- StatData
- int id
- int intValue
- string stringValue
- id
- MAX_HEALTH = 0
- HEALTH = 1
- SIZE = 2
- MAX_MANA = 3
- MANA = 4
- XP_GOAL = 5
- XP = 6
- LEVEL = 7
- INVENTORY = [i for i in range(8, 20)]
- ATT = 20
- DEF = 21
- SPD = 22
- #23-25 missing from the client
- VIT = 26
- WIS = 27
- DEX = 28
- CONDITION = 29
- STARS = 30
- NAME = 31
- TEXTURE1 = 32
- TEXTURE2 = 33
- MERCHANT_TYPE = 34
- REALM_GOLD = 35
- PRICE = 36
- BOOL_CAN_ENTER_PORTAL = 37
- ACCOUNT_ID = 38
- CURRENT_FAME = 39
- MERCHANT_CURRENCY = 40
- OBJECT_ORIENTATION = 41
- MERCHANT_ITEMS_LEFT = 42
- MERCHANT_MINUTES_LEFT = 43
- MERCHANT_DISCOUNT = 44
- MERCHANT_RANK_REQUIRED = 45
- HEALTH_BONUS = 46
- MANA_BONUS = 47
- ATT_BONUS = 48
- DEF_BONUS = 49
- SPD_BONUS = 50
- VIT_BONUS = 51
- WIS_BONUS = 52
- DEX_BONUS = 53
- CONTAINER_OWNER = 54
- NAMECHANGE_RANK_REQUIRED = 55
- BOOL_NAME_REGISTERED = 56
- FAME = 57
- FAME_GOAL = 58
- GLOWING_EFFECT = 59
- SINK_DEPTH = 60
- ALT_TEXTURE = 61
- GUILD = 62
- GUILD_RANK = 63
- BREATH = 64
- XP_BOOSTED = 65
- XPBOOST_TIME_LEFT = 66
- DROPRATE_TIME_LEFT = 67
- LOOTTIER_TIME_LEFT = 68
- HEALTHPOT_COUNT = 69
- MANAPOT_COUNT = 70
- BACKPACK = [i for i in range(71, 79)]
- BOOL_HAS_BACKPACK = 79
- PET_SKIN_OBJECT_TYPE = 80
- PET_ID = 81
- PET_SKIN = 82
- PET_TYPE = 83
- PET_RARITY = 84
- PET_MAX_LEVEL = 85
- PET_UNK1 = 86 #Reserved for a pet feature, but not yet implemented (13.2)
- FOOD_SPENT_ON_SKILL1 = 87
- FOOD_SPENT_ON_SKILL2 = 88
- FOOD_SPENT_ON_SKILL3 = 89
- PET_SKILL1_LEVEL = 90
- PET_SKILL2_LEVEL = 91
- PET_SKILL3_LEVEL = 92
- PET_SKILL1_TYPE = 93
- PET_SKILL2_TYPE = 94
- PET_SKILL3_TPYE = 95
- GroundData
- string id
- int type
- int maxDamage
- int minDamage
- boolean noWalk
- boolean push
- boolean sink
- float speed
- Item
- int item
- int slotType
- boolean tradeable
- boolean included
- ItemData
- string id
- int type
- int slotType
- int tier
- string petFamily
- string rarity
- string activate
- boolean consumable
- boolean soulbound
- boolean usable
- int bagType
- int feedPower
- float rateOfFire
- int fameBonus
- int mpCost
- int mpEndCost
- boolean multiPhase
- int numProjectiles
- ProjectileData[] projectiles
- Location
- float x
- float y
- float distanceSquaredTo(Location location)
- float distanceTo(Location location)
- LocationRecord
- int time
- float x
- float y
- float distanceSquaredTo(Location location)
- float distanceTo(Location location)
- ObjectData
- string id
- int type
- int maxHitPoints
- int maxSize
- int minSize
- int size
- int sizeStep
- int shadowSize
- int color
- float xpMult
- float rotation
- boolean drawOnGround
- boolean enemy
- boolean fullOccupy
- boolean occupySquare
- boolean enemyOccupySquare
- boolean blocksSight
- boolean noMiniMap
- boolean stasisImmune
- boolean protectFromGroundDamage
- boolean protectFromSink
- boolean connects
- float z
- Packet
- byte id()
- string toString()
- ProjectileData
- string objectId
- float speed
- int maxDamage
- int minDamage
- int lifetimeMS
- SlotObject
- int objectId
- int slotId
- int objectType
- Tile
- short x
- short y
- int type
- ________________________________________________________________
- :PACKETS
- - All packet objects implement the id() function
- !!! The following packets are CLIENT packets !!!
- ACCEPTTRADE
- boolean[] myOffer
- boolean[] yourOffer
- AOEACK
- int time
- Location position
- BUY
- int objectId
- CANCELTRADE
- CHANGEGUILDRANK
- string name
- int guildRank
- CHANGETRADE
- boolean[] offer
- CHECKCREDITS
- CHOOSENAME
- string name
- CREATEGUILD
- string name
- CREATE
- int classType
- int skinType
- EDITACCOUNTLIST
- int accountListId
- boolean add
- int objectId
- ENEMYHIT
- int time
- int bulletId
- int targetId
- boolean kill
- ESCAPE
- GOTOACK
- int time
- GROUNDDAMAGE
- int time
- Location position
- GUILDINVITE
- string name
- GUILDREMOVE
- string name
- HELLO
- string buildVersion
- int gameId
- string guid
- string password
- string secret
- int keyTime
- byte[] key
- byte[] obf0
- string obf1
- string obf2
- string obf3
- string obf4
- string obf5
- INVDROP
- SlotObject slotObject
- INVSWAP
- int time
- Location position
- SlotObject slotObject1
- SlotObject slotObject2
- JOINGUILD
- string guildName
- LOAD
- int charId
- boolean isFromArena
- MOVE
- int tickId
- int time
- Location newPosition
- LocationRecord[] records
- OTHERHIT
- int time
- int bulletId
- int objectId
- int targetId
- PLAYERHIT
- int bulletId
- int objectId
- PLAYERSHOOT
- int time
- int bulletId
- int containerType
- Location startingPos
- float angle
- PLAYERTEXT
- string text
- PONG
- int serial
- int time
- REQUESTTRADE
- string name
- RESKIN
- int skinID
- SETCONDITION
- int conditionEffect
- float conditionDuration
- SHOOTACK
- int time
- SQUAREHIT
- int time
- int bulletId
- int objectId
- TELEPORT
- int objectId
- UPDATEACK
- USEITEM
- int time
- SlotObject slotObject
- Location itemUsePos
- int useType
- USEPORTAL
- int objectId
- !!! The following packets are SERVER packets !!!
- ACCOUNTLIST
- int accountListId
- string[] accountIds
- ALLYSHOOT
- int bulletId
- int ownerId
- short containerId
- float angle
- AOE
- Location pos
- float radius
- int damage
- int effect
- float duration
- int origType
- BUY
- int result
- string resultString
- CLIENTSTAT
- string name
- int value
- CREATESUCCESS
- int objectId
- int charId
- CREATEGUILDRESULT
- boolean success
- string errorText
- DAMAGE
- int targetId
- int[] effects
- int damageAmount
- boolean kill
- int bulletId
- int objectId
- DEATH
- string accountId
- int charId
- string killedBy
- int obf0
- int obf1
- FAILURE
- int errorId
- string errorDescription
- FILE
- string name
- byte[] bytes
- GLOBALNOTIFICATION
- int type
- string text
- GOTO
- int objectId
- Location pos
- INVITEDTOGUILD
- string name
- string guildName
- INVRESULT
- int result
- MAPINFO
- int width
- int height
- string name
- string obf0
- int obf1
- int fp
- int background
- boolean allowPlayerTeleport
- boolean showDisplays
- string[] clientXML
- string[] extraXML
- NAMERESULT
- boolean success
- string errorText
- NEWTICK
- int tickId
- int tickTime
- Status[] statuses
- NOTIFICATION
- int objectId
- string message
- int color
- PIC
- BitmapData bitmapData
- PING
- int serial
- PLAYSOUND
- int ownerId
- int soundId
- QUESTOBJID
- int objectId
- RECONNECT
- string name
- string host
- int port
- int gameId
- int keyTime
- boolean isFromArena
- byte[] key
- SERVERPLAYERSHOOT (SHOOT2)
- int bulletId
- int ownerId
- int containerId
- Location startingPos
- float angle
- short damage
- ENEMYSHOOT (SHOOT)
- int bulletId
- int ownerId
- int bulletType
- Location startingPos
- float angle
- short damage
- int numShots
- float angleInc
- SHOW_EFFECT
- int effectType
- int targetObjectId
- Location pos1
- Location pos2
- int color
- TEXT
- string name
- int objectId
- int numStars
- int bubbleTime
- string recipient
- string text
- string cleanText
- TRADEACCEPTED
- boolean[] myOffer
- boolean[] yourOffer
- TRADECHANGED
- boolean[] offer
- TRADEDONE
- int code
- string description
- TRADEREQUESTED
- string name
- TRADESTART
- Item[] myItems
- string yourName
- Item[] yourItems
- UPDATE
- Tile[] tiles
- Entity[] newObjs
- int[] drops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement