# Updates & Fixes
- New Commands: Added `css_bot_place` which teleports a bot to the player's position with optional godmode and translation support.
- Miner (New Skill): Added a new skill that allows for detonating HE grenades near enemies.
- Bomb Abort Support: Introduced `BombAbortplant` support across `ISkill` and event registration; added handlers for aborting plants in Planter, ChillOut, and other skills.
- System (Rework & Optimization):
- Reworked player event dispatching to call `SkillAction` once per distinct active skill, reducing redundant invocations.
- Switched timing logic to use `Server.CurrentTime` (replacing `EngineTime`).
- Added extensive null and validity guards for player and pawn objects.
- Skill-specific Changes:
- AimLock: Fixed vector/validation issues and updated config defaults (cooldown, duration, and offset).
- AreaReaper: Now uses `BombPlantedHere` state and includes `OnTick` alerts.
- ChillOut & Planter: Improved tracking for planting players with center-print and HUD updates.
- HomingNades: Simplified callbacks and fixed detonation timing.
- Muhammed: Tweaked explosion delay handling and reduced friendly fire damage.
- Core & Utils:
- TraceRay: Implemented `CS2TraceRay` for skills to prevent activation through doors or on dropped weapons.
- Dependencies: Bumped `CounterStrikeSharp.API` to 1.0.364 and `MaxMind.Db` to 5.0.0.
- Bug Fixes: Resolved multiple HUD/print update issues and fixed various translation keys.
86 lines
4.1 KiB
XML
86 lines
4.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="src\command\Command.cs~RF4f34d1e7.TMP" />
|
|
<None Remove="src\player\PlayerOnTick.cs~RF38b6229.TMP" />
|
|
<None Remove="src\player\skills\RespWroga.cs~RF528d210.TMP" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.364" />
|
|
<PackageReference Include="CS2TraceRay" Version="1.0.9" />
|
|
<PackageReference Include="MaxMind.Db" Version="5.0.0">
|
|
</PackageReference>
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
|
</ItemGroup>
|
|
|
|
<!-- Relative path to the WASDMenuAPI source code -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="../WASDMenuAPI - SRC Files/WASDMenuAPI.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<SourceLangDir>$(MSBuildProjectDirectory)\src\lang</SourceLangDir>
|
|
<ServerLangDir>$(MSBuildProjectDirectory)\..\jRandomSkills - Server Files\plugins\jRandomSkills\languages</ServerLangDir>
|
|
<SourceDLL>$(MSBuildProjectDirectory)\bin\Debug\net8.0</SourceDLL>
|
|
<ServerDLL>$(MSBuildProjectDirectory)\..\jRandomSkills - Server Files\plugins\jRandomSkills</ServerDLL>
|
|
<SourceGamedataDir>$(MSBuildProjectDirectory)\src\gamedata</SourceGamedataDir>
|
|
<ServerGamedataDir>$(MSBuildProjectDirectory)\..\jRandomSkills - Server Files\gamedata</ServerGamedataDir>
|
|
</PropertyGroup>
|
|
|
|
<!-- Copy language files to server directory -->
|
|
<Target Name="CopyLangFilesToServer" AfterTargets="Build">
|
|
<Message Text="Copying language files from $(SourceLangDir) to $(ServerLangDir)" Importance="High" />
|
|
<ItemGroup>
|
|
<LangFiles Include="$(SourceLangDir)\**\*.*" />
|
|
</ItemGroup>
|
|
<MakeDir Directories="$(ServerLangDir)" Condition="!Exists('$(ServerLangDir)')" />
|
|
<Copy SourceFiles="@(LangFiles)" DestinationFiles="@(LangFiles->'$(ServerLangDir)\\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="false" />
|
|
</Target>
|
|
|
|
<!-- Copy compiled DLL to server directory -->
|
|
<Target Name="CopyDLLToServer" AfterTargets="Build">
|
|
<Message Text="Copying compiled DLL from $(SourceDLL) to $(ServerDLL)" Importance="High" />
|
|
<ItemGroup>
|
|
<CompiledDLL Include="$(SourceDLL)\jRandomSkills.dll" />
|
|
<CompiledDLL Include="$(SourceDLL)\WASDMenuAPI.dll" />
|
|
<CompiledDLL Include="$(SourceDLL)\MaxMind.Db.dll" />
|
|
<CompiledDLL Include="$(SourceDLL)\Newtonsoft.Json.dll" />
|
|
</ItemGroup>
|
|
<MakeDir Directories="$(ServerDLL)" Condition="!Exists('$(ServerDLL)')" />
|
|
<Copy SourceFiles="@(CompiledDLL)" DestinationFiles="@(CompiledDLL->'$(ServerDLL)\\%(Filename)%(Extension)')" SkipUnchangedFiles="false" />
|
|
</Target>
|
|
|
|
<!-- Copy gamedata files to server directory -->
|
|
<Target Name="CopyGamedataFilesToServer" AfterTargets="Build">
|
|
<Message Text="Copying gamedata files from $(SourceGamedataDir) to $(ServerGamedataDir)" Importance="High" />
|
|
<ItemGroup>
|
|
<GamedataFiles Include="$(SourceGamedataDir)\**\*.*" />
|
|
</ItemGroup>
|
|
<MakeDir Directories="$(ServerGamedataDir)" Condition="!Exists('$(ServerGamedataDir)')" />
|
|
<Copy SourceFiles="@(GamedataFiles)" DestinationFiles="@(GamedataFiles->'$(ServerGamedataDir)\\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="false" />
|
|
</Target>
|
|
</Project>
|