Skip to content

Major version mismatch on latest release #300

@WaLkZa

Description

@WaLkZa

I'm hearing from different people that they have compile issues with latest reapi release. I don't faced this issue but I've tested on local with latest rehlds, regamedll and reapi and especially one plugin with RH_ExecuteServerStringCmd hook:

#include <amxmodx>
#include <reapi>
 
public plugin_init()
{
	RegisterHookChain(RH_ExecuteServerStringCmd, "ExecuteServerString")
}
 
public ExecuteServerString(cmd[], source, id)
{
	server_print("%s", cmd)
	//server_print("command: %s | %d | %d | %n", cmd, source, id, id)
	if (equali(cmd, "status"))
	{
		console_print(id, "Unknown command: %s", cmd)
		return HC_SUPERCEDE
	}
	return HC_CONTINUE
}

Output from server_print("%s", cmd): major version mismatch; expected %d, real %d

And the blocking behavior does not working.

The server console is clear on startup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions