Finding function name from hlds
How can I know which function from hlds is called when I execute "+showscores" command?
|
Re: Finding function name from hlds
The button IN_SCORE is sent when it is held down. I do not believe there is a function called as the scoreboard is rendered by the client.
|
Re: Finding function name from hlds
Quote:
|
Re: Finding function name from hlds
Quote:
There's no reason to client send a request EVERYTIME when +gamescore button is sent, that would be so overpowered if 32 clients are spamming the command. So, guess by yourself, data is sent to client when it needs to change. Also, +gamescores is never sent to server. ** When a client uses a command, if is not present on client's game cmd list, it will be sent to the server. (example: "say" and "say_team") |
Re: Finding function name from hlds
Quote:
Is there anywhere I can find out more about this? |
Re: Finding function name from hlds
Generally everything that has +/- in front of it is client side.
|
Re: Finding function name from hlds
I misunderstood. I thought he meant all commands.
|
Re: Finding function name from hlds
Quote:
Also, there are some commands from client that when are sent to server (guessing isn't recognized from client) are handled by the "engine". On OSHLDS: PHP Code:
If isn't a command from these, they are sent by pfnClientCommand to the "mod". That's handled by SV_ParseStringCommand. SV_ReadPackets -> SV_ExecuteClientMessage -> SV_ParseStringCommand (game routine) About your question about finding more about this, i've been just searching long time ago. I've semidecompiled engine and mod and search by myself how some things works, and also I must thank HLSDK and OSHLDS which are really helpful in this case. Sorry for my english anyway. |
| All times are GMT -4. The time now is 21:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.