mirror of
https://github.com/rehlds/hitboxtracker.git
synced 2024-12-26 06:35:39 +03:00
Update README.md
Bump version
This commit is contained in:
parent
33ce752b11
commit
8ba3db4ce4
@ -2,7 +2,7 @@
|
|||||||
Dev-tool that demonstrates on client-side true position of the hitboxes calculated by server
|
Dev-tool that demonstrates on client-side true position of the hitboxes calculated by server
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
* Install `hitboxtracker_mm.dll` on your HLDS as metamod plugin and put `delta.lst` to gamedir directory `cstrike/delta.lst`
|
* Install `hitboxtracker_mm.dll` on your HLDS as metamod plugin
|
||||||
* Put `hitboxtracker.dll` and `cs.exe` to working directory of the game CS 1.6 client
|
* Put `hitboxtracker.dll` and `cs.exe` to working directory of the game CS 1.6 client
|
||||||
* Run `cs.exe`
|
* Run `cs.exe`
|
||||||
|
|
||||||
|
39
hitboxtracker/client/msvc/PostBuild.bat
Normal file
39
hitboxtracker/client/msvc/PostBuild.bat
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
@echo OFF
|
||||||
|
::
|
||||||
|
:: Post-build auto-deploy script
|
||||||
|
:: Create and fill PublishPath.ini file with path to deployment folder
|
||||||
|
:: I.e. PublishPath.ini should contain one line with a folder path
|
||||||
|
:: Call it so:
|
||||||
|
:: IF EXIST "$(ProjectDir)PostBuild.bat" (CALL "$(ProjectDir)PostBuild.bat" "$(TargetDir)" "$(TargetName)" "$(TargetExt)" "$(ProjectDir)")
|
||||||
|
::
|
||||||
|
|
||||||
|
SET targetDir=%~1
|
||||||
|
SET targetName=%~2
|
||||||
|
SET targetExt=%~3
|
||||||
|
SET projectDir=%~4
|
||||||
|
SET destination=
|
||||||
|
|
||||||
|
IF NOT EXIST "%projectDir%\PublishPath.ini" (
|
||||||
|
ECHO No deployment path specified. Create PublishPath.ini near PostBuild.bat with paths on separate lines for auto deployment.
|
||||||
|
exit /B 0
|
||||||
|
)
|
||||||
|
|
||||||
|
FOR /f "tokens=* delims= usebackq eol=;" %%a IN ("%projectDir%\PublishPath.ini") DO (
|
||||||
|
ECHO Deploying to: %%a
|
||||||
|
IF NOT "%%a" == "" (
|
||||||
|
copy /Y "%targetDir%%targetName%%targetExt%" "%%a"
|
||||||
|
IF NOT ERRORLEVEL 1 (
|
||||||
|
IF EXIST "%targetDir%%targetName%.pdb" (
|
||||||
|
copy /Y "%targetDir%%targetName%.pdb" "%%a"
|
||||||
|
)
|
||||||
|
) ELSE (
|
||||||
|
ECHO PostBuild.bat ^(27^) : warning : Can't copy '%targetName%%targetExt%' to deploy path '%%a'
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
IF "%%a" == "" (
|
||||||
|
ECHO No deployment path specified.
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /B 0
|
39
hitboxtracker/launcher/msvc/PostBuild.bat
Normal file
39
hitboxtracker/launcher/msvc/PostBuild.bat
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
@echo OFF
|
||||||
|
::
|
||||||
|
:: Post-build auto-deploy script
|
||||||
|
:: Create and fill PublishPath.ini file with path to deployment folder
|
||||||
|
:: I.e. PublishPath.ini should contain one line with a folder path
|
||||||
|
:: Call it so:
|
||||||
|
:: IF EXIST "$(ProjectDir)PostBuild.bat" (CALL "$(ProjectDir)PostBuild.bat" "$(TargetDir)" "$(TargetName)" "$(TargetExt)" "$(ProjectDir)")
|
||||||
|
::
|
||||||
|
|
||||||
|
SET targetDir=%~1
|
||||||
|
SET targetName=%~2
|
||||||
|
SET targetExt=%~3
|
||||||
|
SET projectDir=%~4
|
||||||
|
SET destination=
|
||||||
|
|
||||||
|
IF NOT EXIST "%projectDir%\PublishPath.ini" (
|
||||||
|
ECHO No deployment path specified. Create PublishPath.ini near PostBuild.bat with paths on separate lines for auto deployment.
|
||||||
|
exit /B 0
|
||||||
|
)
|
||||||
|
|
||||||
|
FOR /f "tokens=* delims= usebackq eol=;" %%a IN ("%projectDir%\PublishPath.ini") DO (
|
||||||
|
ECHO Deploying to: %%a
|
||||||
|
IF NOT "%%a" == "" (
|
||||||
|
copy /Y "%targetDir%%targetName%%targetExt%" "%%a"
|
||||||
|
IF NOT ERRORLEVEL 1 (
|
||||||
|
IF EXIST "%targetDir%%targetName%.pdb" (
|
||||||
|
copy /Y "%targetDir%%targetName%.pdb" "%%a"
|
||||||
|
)
|
||||||
|
) ELSE (
|
||||||
|
ECHO PostBuild.bat ^(27^) : warning : Can't copy '%targetName%%targetExt%' to deploy path '%%a'
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
IF "%%a" == "" (
|
||||||
|
ECHO No deployment path specified.
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /B 0
|
39
hitboxtracker/server/msvc/PostBuild.bat
Normal file
39
hitboxtracker/server/msvc/PostBuild.bat
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
@echo OFF
|
||||||
|
::
|
||||||
|
:: Post-build auto-deploy script
|
||||||
|
:: Create and fill PublishPath.ini file with path to deployment folder
|
||||||
|
:: I.e. PublishPath.ini should contain one line with a folder path
|
||||||
|
:: Call it so:
|
||||||
|
:: IF EXIST "$(ProjectDir)PostBuild.bat" (CALL "$(ProjectDir)PostBuild.bat" "$(TargetDir)" "$(TargetName)" "$(TargetExt)" "$(ProjectDir)")
|
||||||
|
::
|
||||||
|
|
||||||
|
SET targetDir=%~1
|
||||||
|
SET targetName=%~2
|
||||||
|
SET targetExt=%~3
|
||||||
|
SET projectDir=%~4
|
||||||
|
SET destination=
|
||||||
|
|
||||||
|
IF NOT EXIST "%projectDir%\PublishPath.ini" (
|
||||||
|
ECHO No deployment path specified. Create PublishPath.ini near PostBuild.bat with paths on separate lines for auto deployment.
|
||||||
|
exit /B 0
|
||||||
|
)
|
||||||
|
|
||||||
|
FOR /f "tokens=* delims= usebackq eol=;" %%a IN ("%projectDir%\PublishPath.ini") DO (
|
||||||
|
ECHO Deploying to: %%a
|
||||||
|
IF NOT "%%a" == "" (
|
||||||
|
copy /Y "%targetDir%%targetName%%targetExt%" "%%a"
|
||||||
|
IF NOT ERRORLEVEL 1 (
|
||||||
|
IF EXIST "%targetDir%%targetName%.pdb" (
|
||||||
|
copy /Y "%targetDir%%targetName%.pdb" "%%a"
|
||||||
|
)
|
||||||
|
) ELSE (
|
||||||
|
ECHO PostBuild.bat ^(27^) : warning : Can't copy '%targetName%%targetExt%' to deploy path '%%a'
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
IF "%%a" == "" (
|
||||||
|
ECHO No deployment path specified.
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /B 0
|
@ -41,7 +41,7 @@
|
|||||||
plugin_info_t Plugin_info = {
|
plugin_info_t Plugin_info = {
|
||||||
META_INTERFACE_VERSION, // ifvers
|
META_INTERFACE_VERSION, // ifvers
|
||||||
"HitboxTracker", // name
|
"HitboxTracker", // name
|
||||||
"1.0", // version
|
"1.1", // version
|
||||||
__DATE__, // date
|
__DATE__, // date
|
||||||
"s1lent", // author
|
"s1lent", // author
|
||||||
"https://github.com/s1lentq/hitboxtracker", // url
|
"https://github.com/s1lentq/hitboxtracker", // url
|
||||||
|
Loading…
Reference in New Issue
Block a user