Skip to content

Deathmatch Classic: Add weapon prediction. #4017

Open

Description

@jyetcv

It would be nice to have weapon prediction. It should be somewhat trivial to add prediction for each weapon since GoldSrc already supports it. Right now all hit registration is hindered by latency.
I think it would make this fast paced game a lot more enjoyable, plus Half-Life and most of the other Valve games already have this.

Activity

  1. changed the title [-]Deathmatch Classic: Add client-server hit detection.[/-] [+]Deathmatch Classic: Add weapon prediction.[/+] on Aug 13, 2026
  2. Ch0wW commented on Oct 9, 2026

    @Ch0wW

    Deathmatch classic emulates how vanilla Quake 1 (not QuakeWorld) was handled, meaning the server force-disabled its client prediction.

    Thankfully, the source of Deathmatch Classic being fully open, it can be fixed by modifying one line ( int AllowLagCompensation( void ), replacing 0 by 1 ).

    The BaseQ servers have it enabled, by the way.

  3. tschumann commented on Oct 9, 2026

    @tschumann
  4. Ch0wW commented on Oct 10, 2026

    @Ch0wW

    I believe hooking with AMXX's FakeMeta could be a solution yes...

    Something like that (untested, unsure, I'm not really an AMXX plugin dev)
    dllfunc(DLLFunc_pfnAllowLagCompensation, 1);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions