View Single Post
Netsys
Senior Member
Join Date: Feb 2010
Old 02-11-2016 , 07:49   Re: Regamedll_CS, Reverse-engineered mod CS
Reply With Quote #29

PHP Code:
Protocol version 48
Exe version 1.1.2.7
/Stdio (cstrike)
Exe build18:24:49 Feb 10 2016 (669)
Server IP address 190.0.164.230:27015
   
   Metamod version 1.21p37 Copyright 
(c2001-2013 Will Day
     Patch
Metamod-(mm-pv37 Copyright (c2004-2013 Jussi Kivilinna
   Metamod comes with ABSOLUTELY NO WARRANTY
; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type 
`meta gpl' for details.
   

   AMX Mod X version 1.8.3-dev+5014 Copyright (c) 2004-2015 AMX Mod X Development Team 
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'
.
   
This is free software and you are welcome to redistribute it under 
   certain conditions
type 'amxx gpl' for details.
  
L 02/11/2016 09:37:48Binding/Hooking cvars have been disabled check your gamedata files.
L 02/11/2016 09:37:48client_disconnected forward has been disabled check your gamedata files.
POD-Bot mmplugin attaching
ReGameDLL build
17:44:56 Feb  4 2016 (0.2.61)
ReGameDLL API version 1.0
L 02
/11/2016 09:37:48: -------- Mapchange to de_dust2 --------
L 02/11/2016 09:37:48: [CSTRIKEBuyGunAmmo is not available
L 02
/11/2016 09:37:48: [CSTRIKESome functions are not available forwards CS_OnBuy[Attempthave been disabled
L 02
/11/2016 09:37:48: [CSTRIKEsvs global variable is not available
L 02
/11/2016 09:37:48: [CSTRIKEsv global variable is not available 
With the lastes version of ReHLDS and ReGameDLL_CS bugfix version.

Updated signatures for linux bugfix version:

File: gamedata/modules.games/game.cstrike.txt
Code:
"BuyGunAmmo" // bool BuyGunAmmo(CBasePlayer *player, CBasePlayerItem *weapon, bool bBlinkMoney)
{
	"library"   "server"
	"windows"   "\x56\x57\x8B\x2A\x2A\x2A\x6A\x2A\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x84\x2A\x0F"
	"linux"     "@_Z10BuyGunAmmoR11CBasePlayerR15CBasePlayerItemb"
	"mac"       "@_Z10BuyGunAmmoR11CBasePlayerR15CBasePlayerItemb"
}
to
Code:
"BuyGunAmmo" // bool BuyGunAmmo(CBasePlayer *player, CBasePlayerItem *weapon, bool bBlinkMoney)
{
	"library"   "server"
	"windows"   "\x56\x57\x8B\x2A\x2A\x2A\x6A\x2A\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x84\x2A\x0F"
	"linux"     "@_Z10BuyGunAmmoP11CBasePlayerP15CBasePlayerItemb"
	"mac"       "@_Z10BuyGunAmmoP11CBasePlayerP15CBasePlayerItemb"
}
File: gamedata/common.games/functions.engine.txt
Code:
"SV_DropClient" // void SV_DropClient(client_t *cl, qboolean crash, const char *fmt, ...);
{
	"library"   "engine"
	"windows"   "\x55\x8B\x2A\x81\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x53\x56\x8D"
	"linux"     "@SV_DropClient"
	"mac"       "@SV_DropClient"
}
"Cvar_DirectSet" // void Cvar_DirectSet(struct cvar_s *var, char *value);
{
	"library"   "engine"
	"windows"   "\x55\x8B\x2A\x81\x2A\x2A\x2A\x2A\x2A\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x85"
	"linux"     "@Cvar_DirectSet"
	"mac"       "@Cvar_DirectSet"
}
to
Code:
"SV_DropClient" // void SV_DropClient(client_t *cl, qboolean crash, const char *fmt, ...);
{
	"library"   "engine"
	"windows"   "\x55\x8B\x2A\x81\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x53\x56\x8D"
	"linux"     "@_Z13SV_DropClientP8client_siPKcz"
	"mac"       "@_Z13SV_DropClientP8client_siPKcz"
}
"Cvar_DirectSet" // void Cvar_DirectSet(struct cvar_s *var, char *value);
{
	"library"   "engine"
	"windows"   "\x55\x8B\x2A\x81\x2A\x2A\x2A\x2A\x2A\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x85"
	"linux"     "@_Z17PF_Cvar_DirectSetP6cvar_sPKc"
	"mac"       "@_Z17PF_Cvar_DirectSetP6cvar_sPKc"
}
File: gamedata/common.games/globalvars.engine.txt
Code:
"Signatures"
{
   "svs"    // server_static_t svs
   {
      "library"   "engine"
      "linux"     "@svs"
      "mac"       "@svs"
   }

   "sv"    // server_t sv
   {
      "library"   "engine"
      "windows"   "\x8B\x2A\x2A\x2A\x2A\x2A\x8D\x2A\x2A\x2A\x2A\x2A\x53\x33\x2A\x89"  // SVC_PlayerInfo()
      "linux"     "@sv"
      "mac"       "@sv"
   }
to
Code:
"Signatures"
{
   "svs"    // server_static_t svs
   {
      "library"   "engine"
      "linux"     "@g_psvs"
      "mac"       "@g_psvs"
   }

   "sv"    // server_t sv
   {
      "library"   "engine"
      "windows"   "\x8B\x2A\x2A\x2A\x2A\x2A\x8D\x2A\x2A\x2A\x2A\x2A\x53\x33\x2A\x89"  // SVC_PlayerInfo()
      "linux"     "@g_psv"
      "mac"       "@g_psv"
   }

Last edited by Netsys; 02-11-2016 at 09:57.
Netsys is offline