Circa Posted January 16, 2015 Posted January 16, 2015 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.
ensiform Posted January 16, 2015 Posted January 16, 2015 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.
Circa Posted January 17, 2015 Author Posted January 17, 2015 @@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?
ensiform Posted January 17, 2015 Posted January 17, 2015 Its a command in OpenJK's cgame module. The engine being used is irrelevant. https://github.com/JACoders/OpenJK/blob/master/codemp/cgame/cg_consolecmds.c#L104-L142
Circa Posted January 17, 2015 Author Posted January 17, 2015 Its a command in OpenJK's cgame module. The engine being used is irrelevant. https://github.com/JACoders/OpenJK/blob/master/codemp/cgame/cg_consolecmds.c#L104-L142So....yes? Pardon my lack of coding knowledge.
ensiform Posted January 17, 2015 Posted January 17, 2015 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now