Jump to content
Ghost Recon.net Forums

kit restriction question


Recommended Posts

things changed with gr 1.4

everything works by a file-index-offset now

on the server, the order of kits loaded in a given kit restrict is indexed from 0-n

clients send only their index to the server, not a text string. because of this there is no way for a client to get kits other than those that are in the server's current kit restrict. if a client selects an index beyond the number of kits listed, the clients kit will be set to the 0 index. so to remove all support you can put a chicken kit (or ?) as the only kit for support specialist. regardless of what is chosen the player will get a chicken.

when a client requests to change a kit (or init one at game start) the server sends the entire kit back to the client by its index in the kit restrict. because of this, a client cannot change the contents of the kit. the good news is the ammo and items within the kit can be whatever you want as long as the kit references valid gun/item models. of course the bitmap on the client wont represent the kit but it will still contain the contents specified by the server.

if a client's kit references a model that does not exist on the server, the client will CTD. if the server references a model that isn't on the client, the server will CTD and so will all clients.

i think that about covers it ... :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...