Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$protected normalize in Protocol Quake3 for Call of Duty #715

Open
vinguida opened this issue Sep 17, 2023 · 0 comments
Open

$protected normalize in Protocol Quake3 for Call of Duty #715

vinguida opened this issue Sep 17, 2023 · 0 comments

Comments

@vinguida
Copy link

I found an incorrect normalization response in the Quake3 protocol, for Call of Duty games (cod,cod2,cod4,coduo,codwaw).

I then verified that with this normalization the problem is solved.

 protected $normalize = [
     // General
     'general' => [
         // target => source
         'gametype' => 'g_gametype',
         'hostname' => 'sv_hostname',
         'mapname' => 'mapname',
         'maxplayers' => 'sv_maxclients',
         'mod' => '_Mod',
         'numplayers' => 'clients',
         'password' => ['g_needpass', 'pswrd'],
     ],
     // Individual
     'player' => [
         'name' => 'name',
         'ping' => 'ping',
         'score' => 'frags',
     ],
 ];

Is it better to add normalization to individual Call Of Duty protocols? or is it enough to act directly on the Quake3 protocol?

Thanks for everything

forgive me for my english, I used google translator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant