Jump to content

Private Chat


Circa

Recommended Posts

Posted

So when using private chat on a server, you type "serverstatus" to get the number of the person to talk to, but if a person leaves at some point, and you type "serverstatus" again, the numbers change for everyone but they don't actually change. You have to use the previous number still. 

 

Could this be fixed? Not really sure if it's client side or server side or both. Our server uses OpenJK, and I do as client as well.

Posted

No it cannot.  Its a message that comes from servers to anything that sends a getstatus request to the server.  It does not contain the numbers.  The numbers are local during the parsing and added as the loop iterates.  So it is not even showing client numbers. (First client in server is 0, second is 1 etc)  You should rely on the mod to provide a client list cmd that shows real client numbers.

 

Pretty sure OJK and JA++ cgame have a cmd for this.  Some mods may even implement a cmd in g_cmds.c which is avail for clients but doesn't require cgame.

 

In the OJK cgame the command is clientlist.

Posted

@@ensiform so the clientlist command is client side only for OpenJK or server side as well? Like if someone on an OpenJK server was using vanilla jamp.exe, could they use that command?

Posted

As long as they are using the cgamex86.dll provided from the OpenJK builds they can use it.  This is of course the client plugin module.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...