Results 1 to 3 of 3
  1. #1
    poopoorino's Avatar
    Join Date
    Sep 2017
    Gender
    female
    Posts
    46
    Reputation
    10
    Thanks
    17

    Exclamation How to get portal ids

    trying to get portal ids so i can send use portal packets, but how do I get the portal ids to begin with?

    - - - Updated - - -

    + also to add, how do you get player ids too?

  2. #2
    Killer Be Killed's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    212
    Reputation
    53
    Thanks
    2,352
    My Mood
    Asleep
    Quote Originally Posted by poopoorino View Post
    trying to get portal ids so i can send use portal packets, but how do I get the portal ids to begin with?

    - - - Updated - - -

    + also to add, how do you get player ids too?
    Portal IDs are the Object ID of the portal object. You can get the Object ID of a portal by hooking the UpdatePacket and looping through the New Objects array. The ObjectType property of each new object will indicate whether or not it is a portal.

    Player IDs work in a similar way. Just check if the ObjectType matches up with a value in the Classes enum.

  3. #3
    Heska's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    76
    Reputation
    10
    Thanks
    33
    Map all of gamedata objects that have portal tag in them.
    In Update packet loop through all of the New Objects and check if your map contains that object id. If so, then it means you have a portal.

  4. The Following User Says Thank You to Heska For This Useful Post:

    plusminuss (01-09-2018)

Similar Threads

  1. How to get packet ids
    By iliaS2D in forum Realm of the Mad God Help & Requests
    Replies: 0
    Last Post: 09-20-2016, 07:57 PM
  2. [Help Request] How to get S2S ids
    By RatoAtômico in forum Combat Arms Coding Help & Discussion
    Replies: 3
    Last Post: 07-23-2014, 07:39 AM
  3. [Help Request] How to get mob IDs?
    By jakerofl in forum Realm of the Mad God Help & Requests
    Replies: 2
    Last Post: 05-18-2014, 08:28 PM
  4. [Realm Relay] How to get USEPORTAL IDs?
    By CrazyJani in forum Realm of the Mad God Help & Requests
    Replies: 1
    Last Post: 01-25-2014, 11:08 AM
  5. [Solved] Noob Question: How to get item IDs from decompile?
    By AFemalProdigy in forum Realm of the Mad God Help & Requests
    Replies: 8
    Last Post: 10-30-2012, 12:03 AM