#1 2020-02-08 08:45:27

Murz
Administrator
Registered: 2020-01-31
Posts: 5

Server updates

0.1 updated ReGameDLL_CS 5.13.0.451
build.gradle: Fix missing brace
Fixed some compiler warnings
Fixed a appversion.sh when the path may contain spaces

0.2 Fixed bug in kill assit
Fixed missing asist frag on next round
Replaced hamsandwich module to reapi

	//RegisterHam(Ham_TakeDamage, "player", "Ham_PlayerTakeDamage_Pre", false)
	RegisterHookChain(RG_CBasePlayer_TakeDamage, "CBasePlayer_TakeDamage", false)
	
	//RegisterHam(Ham_Killed, "player", "Ham_PlayerKilled_Pre", false)
	RegisterHookChain(RG_CBasePlayer_Killed, "CBasePlayer_Killed_Pre", false)
	//DisableHamForward((g_pHamSpawnPost = RegisterHam(Ham_Killed, "player", "Ham_PlayerKilled_Post", true)))
	DisableHookChain((g_pHamSpawnPost = RegisterHookChain(RG_CBasePlayer_Killed, "CBasePlayer_Killed_Post", true)))
	
	//RegisterHam(Ham_Spawn, "player", "Ham_PlayerSpawn_Post", true)
	RegisterHookChain(RG_CBasePlayer_Spawn, "RG_Spawn_Post", true)
	
	//register_event("HLTV", "Event_HLTV", "a", "1=0", "2=0")
	RegisterHookChain( RG_CSGameRules_RestartRound, "Event_HLTV", true)

Offline

#2 2020-02-08 08:53:38

Murz
Administrator
Registered: 2020-01-31
Posts: 5

Re: Server updates

0.3 modified server start LINE to get more logs

cd /root/ReHLDS && screen -A -m -d -S ReHLDS ./hlds_run -debug -game cstrike +ip 91.211.247.8 +port 27015 +map de_dust2x2 +maxplayers 32 -beta -pingboost 3 -noipx +rcon_password ****** -pidfile hlds.18857.pid

>>>

#!/bin/sh
#

cd /root/ReHLDS

HLDS_PORT=27015

HL="./hlds_run -binary ./hlds_linux -game cstrike +ip 91.211.247.8 +port 27015 +map de_dust2x2 +maxplayers 32 -beta -pingboost 3 -noipx +rcon_password ***** -debug -pidfile hlds.18857.pid"
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH

#$HL

nohup $HL | /usr/bin/cronolog /root/ReHLDS/logs/cs.%y%m%d &
#nohup $HL 2>/dev/null 1>/dev/null &

Offline

Board footer

Powered by FluxBB