Results 1 to 5 of 5
  1. #1
    aliampolizzi's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    1
    My Mood
    Bored

    [HELP REQUEST] K-Relay instance of ObjectId reference

    While looking through the structure of several packets given by K-Relay's gui under the 'packets' tab, I notice that several of the packets have an ObjectId value, however when looking through the XML files containing the gamedata, it appears as though any given type of entity has a single ObjectId that refers to it.
    Additionally, as ObjectId is of type Int32, and the Object Id's given by the XML files that relate to various entities are given in string form, logically they cannot be the same thing.

    What I cannot figure out then, is how would one go about differentiating between various instantiations of any particular entity type, and what--if not the "Object Id" given to entities in the XML files--is the ObjectId in the packet structures?

    I have several years of programming experience (though none with C#, not that it's a particularly dissimilar language to those I Have used), so I am fairly confident that I will be able to extrapolate this information from the .dll's included with K-Relay after I decompile them, but I do not currently have Visual Studio installed and am currently in the process of downloading it.

    I hope someone may be able to shed some amount of light on the situation for me in the mean time.

    - - - Updated - - -

    After finding K-Relay's lib folder with the needed source to figure out what is going on here, this question is no longer relevant.
    Moderators feel free to do with the thread as is to be done (I haven't the faintest clue what that is though, so I'll leave it t

  2. #2
    aseikin's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    28
    Quote Originally Posted by aliampolizzi View Post
    While looking through the structure of several packets given by K-Relay's gui under the 'packets' tab, I notice that several of the packets have an ObjectId value, however when looking through the XML files containing the gamedata, it appears as though any given type of entity has a single ObjectId that refers to it.
    Additionally, as ObjectId is of type Int32, and the Object Id's given by the XML files that relate to various entities are given in string form, logically they cannot be the same thing.

    What I cannot figure out then, is how would one go about differentiating between various instantiations of any particular entity type, and what--if not the "Object Id" given to entities in the XML files--is the ObjectId in the packet structures?

    I have several years of programming experience (though none with C#, not that it's a particularly dissimilar language to those I Have used), so I am fairly confident that I will be able to extrapolate this information from the .dll's included with K-Relay after I decompile them, but I do not currently have Visual Studio installed and am currently in the process of downloading it.

    I hope someone may be able to shed some amount of light on the situation for me in the mean time.

    - - - Updated - - -

    After finding K-Relay's lib folder with the needed source to figure out what is going on here, this question is no longer relevant.
    Moderators feel free to do with the thread as is to be done (I haven't the faintest clue what that is though, so I'll leave it t
    ObjectID is the unique identifier the server assigns to objects so that all the clients and server know who they're referencing. It has nothing to do with k-relay.

    You'll find Type in the k-relay/flash clients XML files which indicates if an object is say a Wizard, a Priest, or a Sprite God. The ObjectID will differentiate which Sprite God you are. Make sense?

  3. #3
    tmwilliamlin168's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    142
    Reputation
    10
    Thanks
    1,290
    Quote Originally Posted by aseikin View Post
    ObjectID is the unique identifier the server assigns to objects so that all the clients and server know who they're referencing. It has nothing to do with k-relay.

    You'll find Type in the k-relay/flash clients XML files which indicates if an object is say a Wizard, a Priest, or a Sprite God. The ObjectID will differentiate which Sprite God you are. Make sense?
    Just a random question:
    Are the objectids same for every client?

  4. #4
    aliampolizzi's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    From the small amount of testing I did, the ObjectId for any given entity seems to be a constant assigned to it by the server, thus, yes, between clients the ObjectId remains the same for any particular entity.

    - - - Updated - - -

    Along a relevant line though, if anyone knows, does there exist a way to derive to what kind of entity an ObjectId belongs? That is to say, for example, given 10 ObjectIds, two of which are Ghost Gods, can you determine which two ObjectIds belong to Ghost Gods?

    Additionally I am curious if there is some way to obtain information about an ObjectId, information such as, say, Location, health, etc.

  5. The Following User Says Thank You to aliampolizzi For This Useful Post:

    tmwilliamlin168 (02-05-2016)

  6. #5
    aseikin's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    28
    Quote Originally Posted by aliampolizzi View Post
    From the small amount of testing I did, the ObjectId for any given entity seems to be a constant assigned to it by the server, thus, yes, between clients the ObjectId remains the same for any particular entity.

    - - - Updated - - -

    Along a relevant line though, if anyone knows, does there exist a way to derive to what kind of entity an ObjectId belongs? That is to say, for example, given 10 ObjectIds, two of which are Ghost Gods, can you determine which two ObjectIds belong to Ghost Gods?

    Additionally I am curious if there is some way to obtain information about an ObjectId, information such as, say, Location, health, etc.
    You are correct that it is assigned by the server and consistent across clients.
    No you need the object type to determine which is a ghost god. Yes the server sends you all of that information, in the update (add or delete objects) and newtick packets (update existing objects).

Similar Threads

  1. [Help Request] [Help Request] Reobfuscate error 1.3.2 MCP
    By LordPankake in forum Minecraft Help
    Replies: 2
    Last Post: 08-22-2012, 06:15 PM
  2. [Help Request] [Help request] Cheat engine says error on opening AVA.exe process :@
    By kalokoko in forum Alliance of Valiant Arms (AVA) Help
    Replies: 0
    Last Post: 08-11-2012, 01:56 PM
  3. [Help Request] [Help Request] How to make No Recoil hack in Visual Studio?
    By Tstovall in forum CrossFire Help
    Replies: 5
    Last Post: 07-20-2011, 02:55 AM
  4. [Help Request] HElp request ?
    By wakosam in forum CrossFire Help
    Replies: 2
    Last Post: 07-17-2011, 06:35 PM
  5. [Help Request] Easy Help Request.
    By KrustyKokehead in forum Vindictus Help
    Replies: 6
    Last Post: 06-01-2011, 05:58 PM

Tags for this Thread