Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

1.0.4 release, new features and fixes #38

Merged
merged 55 commits into from
Mar 1, 2024
Merged

Conversation

marqdevx
Copy link
Owner

@marqdevx marqdevx commented Feb 1, 2024

Added:

  • Practice
    • Flash grenade
      • Flashed time feedback
      • Add .noflash toggle to cancel blind animation on all the players
    • Damage information on practice mode (player_hurt)
    • Added .last which teleports to the player's latest grenade thrown lineup.
    • Spawn side optional argument (.spawn 1 <ct/t>)
  • Scrim
    • Coach
      • .coach can chose sides directly (.coach <ct/t>)
      • coach does not take the competitive spawns from the players
    • Demo recording
      • Map will be at the end of the demo file, it will use the last map triggered by the .map command (I will remove this quick-fix as soon as I can get the map at map init)
  • General
    • Add .rcon for admins
    • Switch team side with .ct .t .spec and .side to bypass team limit (focused on .coach issues)
    • Team switch will now be visible on chat
    • Modularity with a cfg located in <server>/game/csgo/cfg/cs2scrim/cs2scrim.cfg to enable/disable features.
    • Admin
      • Add .unban feature

Command optional addition `!spawn <spawn number> <ct/t>`
Optional addition `.coach <ct/t>`
Now the coach is not blocking the competitive spawns from players.
On round pre-start the coach is switched to spectator, the players are spawned, once all the players are on the competitive spawns, the coach is moved to its target team.
Now the features of the plugin are configurable from the cs2scrim .cfg file, all enabled by default (if the cfg is not present)
The crash was happening casued by null pointer not being checked
Needed class to remove flash effect
.last command will teleport you to the latest grenade thrown, individual for each player.

fix
@marqdevx marqdevx force-pushed the marqdevx/1.0.4 branch 3 times, most recently from 735884e to 4e89019 Compare February 1, 2024 12:11
marqdevx and others added 2 commits March 1, 2024 23:08
* Rebase from @CS2Fixes 1.5.0

* Remove unused functions

* Fix addresses

* Fix addresses namespace

* Fix changelevel crash

* add credits and warmup end

* Remove unused `Playerpawnbase` header

Now the `CCSPlayerPawnBase` is inside `CCSPlayerPawn` class header

* Fix client crash onTransmit

* Dont install ambuild when its already done

* Cleared get slots APis

* Re-add new features after rebase

---------

Co-authored-by: marqdevx <[email protected]>
@marqdevx marqdevx changed the base branch from main to marqdevx/1.1.0 March 1, 2024 22:40
@marqdevx marqdevx merged commit 20e10fe into marqdevx/1.1.0 Mar 1, 2024
4 of 5 checks passed
@marqdevx marqdevx deleted the marqdevx/1.0.4 branch March 1, 2024 22:55
marqdevx added a commit that referenced this pull request Mar 6, 2024
* 1.0.4 release, new features and fixes (#38)

* Uppdate credits

* Change ambuild config setting

* Coach tweaking

* Add `.noflash` command

* Add player damaged info

* Fix parse chat command function

* Add team select through chat command (`.ct`, `.t`, `.spec`, `side`)

* Remove unused sound block

* Clean up

* Hook say command, from `CS2Fixes`

Source2ZE/CS2Fixes@2808f35

* Fix build script

* Coach not taking player spawn

* Add `.rcon`

* 2nd iteration coach spawn

* Flash info fix

* Add map on demo name

* Coach 2nd iteration

* Coach choose side on spec

* bump version

* Spawn side can be chosen

Command optional addition `!spawn <spawn number> <ct/t>`

* Coach can choose side

Optional addition `.coach <ct/t>`

* Coach does dont block player spawns anymore

Now the coach is not blocking the competitive spawns from players.
On round pre-start the coach is switched to spectator, the players are spawned, once all the players are on the competitive spawns, the coach is moved to its target team.

* Add modularity to enable/disable features

Now the features of the plugin are configurable from the cs2scrim .cfg file, all enabled by default (if the cfg is not present)

* Fix flash crash

The crash was happening casued by null pointer not being checked

* Added `CCSPlayerPawnBase`

Needed class to remove flash effect

* Add `.last` command

.last command will teleport you to the latest grenade thrown, individual for each player.

fix

* Fix admin not being loaded

Fixing #36

* Block `.noclip` command only for practice

* Change plugin description and author

* Update readme

* Fix compile action

* Fix include

* Bump version `1.0.4-beta`

* Remove grenade thrown debug info

* Add `.unban` command (#20)

Co-authored-by: marqdevx <[email protected]>

* Comment

* Clean cvar

* Add description

* Improve performance

* Enable by cvar

* Mark and clean

* Fix `.setteam`

* Add CFGs

* create subfolder

* Bump version `1.0.4`

* Add control by cvar

* Remove tests

* Fix `.noflash` command

* Add control by cvars

* Clean description

* Update command list and description

* Update command list

* Clean and update credits

* Marqdevx/rebase/cs2fixes 1.5.0 (#43)

* Rebase from @CS2Fixes 1.5.0

* Remove unused functions

* Fix addresses

* Fix addresses namespace

* Fix changelevel crash

* add credits and warmup end

* Remove unused `Playerpawnbase` header

Now the `CCSPlayerPawnBase` is inside `CCSPlayerPawn` class header

* Fix client crash onTransmit

* Dont install ambuild when its already done

* Cleared get slots APis

* Re-add new features after rebase

---------

Co-authored-by: marqdevx <[email protected]>

* Add mapname to .dem file

---------

Co-authored-by: marqdevx <[email protected]>

* Bump version

* Update roadmap and metamod version

* Update gamedata txt `d51c978`

* coach kill after spawn

* Remove spawn priority output

* Remove CS2Fixes patches

* Enable no flash due to typo

* Fix cvar descriptions

* Move organize command

* Bump version

* Clean feedback chat and colors

* Remove coach on disconnect

* Last grenade only teleports if exists

* Update readme

* Fix spawns teleport

Fixing #45

* Add gotv folder

---------

Co-authored-by: marqdevx <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant