Coder Social home page Coder Social logo

marqdevx / mm-cs2-coach Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17.47 MB

Metamod addon of Counter Strike 2. Only coaching feature

License: GNU General Public License v3.0

Python 14.57% Shell 0.64% C++ 83.92% C 0.87%
counter-strike-2 cs2-plugin cs2-server-addon metamod metamod-addon

mm-cs2-coach's Introduction

Build pass

Archive repository

This plugin was already inside cs2scrim, but now it can be isolated inside the cs2scrim plugin by turning off the features you dont need
For more info please visit the original plugin https://github.com/marqdevx/mm-cs2-scrim

Set as public archive from February 2024.

IMPORTANT

This repository is based on https://github.com/Source2ZE/CS2Fixes/ Removing "unnecessary" features from the original addon. Thanks for the work!

DISCLAIMER: *not* responsible for any issues or breakages caused by the plugin. 

Addon information

This metamod addon ONLY adds the workaround to set a player as a coach on competitive matches.

Available Commands

.coach: set to coach
.uncoach: stop coaching, back as a player
aliases: .nocoach, .coachstop, .coachend

Compilation

Requirements

Instructions

Set up video
Set up video: https://www.youtube.com/watch?v=thk78MDsQnc

Authors from the original repository

Credits

  • CKRAS Hosting Team They liked the cs2scrim addon, they contacted me and helped trying out the best way to make this work, find bugs and give feedback.

mm-cs2-coach's People

Contributors

marqdevx avatar

Watchers

 avatar

mm-cs2-coach's Issues

Server crash by connecting to server

Server crashes after the player connects.

I tested on a "free server", and it didn't crash at all which is very "strange"

Accepting Steam Net connection #3939796043 UDP steamid:76561197984594084@56129
Sending S2C_CHALLENGE [0 auth 3] to 56129
Receiving C2S_CONNECT [protocol 13968 0 auth 3] from 56129
CNetworkGameServerBase::ConnectClient( name='Golden', remote='56129' )
Creating NetChan for user 0 'Golden' @ 56129
Associating NetChan       Golden   56129[1] (56129) with Steam Net Connection handle #3939796043 (userdata 0)
CServerSideClientBase::Connect( name='Golden', userid=0, fake=0, chan->addr=56129 )
Client 0 'Golden' signon state SIGNONSTATE_NONE -> SIGNONSTATE_CONNECTED
[CS2Coach] Hook_OnClientConnected(0, "Golden", 76561197984594084, "[U:1:24328356]", "56129", 0)
Sending S2C_CONNECTION to 56129 [addons:'']
Client #0 "Golden" connected @ 56129
[CS2Coach] Hook_ClientConnect(0, "Golden", 76561197984594084, "94.147.80.197:56129", 0, "Connection rejected by game
")
[CS2Coach] 0 connected
ClientPutInServer create new player controller [Golden]
Client 0 'Golden' setting rate to 786432
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
Client 0 'Golden' signon state SIGNONSTATE_CONNECTED -> SIGNONSTATE_NEW
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
Client 0 'Golden' signon state SIGNONSTATE_NEW -> SIGNONSTATE_PRESPAWN
Client 0 'Golden' signon state SIGNONSTATE_PRESPAWN -> SIGNONSTATE_SPAWN
SV:  "Golden<0><[U:1:24328356]><>" STEAM USERID validated
[CS2Coach] 76561197984594084 authenticated 0
Client 0 'Golden' signon state SIGNONSTATE_SPAWN -> SIGNONSTATE_FULL
[CS2Coach] Hook_ClientPutInServer(0, "Golden", 0, 24328356, 1)
[CS2Coach] Hook_ClientActive(0, 0, "Golden", 76561197984594084)
SV:  Sending full update to client Golden (reason:  initial update)
      Golden  56129[1]:  NetChan Setting Timeout to 20.00 seconds
"Golden<0><[U:1:24328356]><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 3 willSwitch 0, 87.78 
"Golden<0><[U:1:24328356]><CT>" OnPreResetRound => CTMDBG, team 3  will switch 0 87.78 
FuncTrackTrain 'subway.mover01' has no target.
Constraint phys_hinge (phys_hinge) at (-2798.00, -2703.00, 608.00) is attached to two non-physical objects ('' and 'swingset.swing02').
Constraint phys_hinge (phys_hinge) at (-2854.00, -2703.00, 608.00) is attached to two non-physical objects ('' and 'swingset.swing01').

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.