shadow93 / deathrun-classic Goto Github PK
View Code? Open in Web Editor NEWA continuation of ClassicGuzzi's Deahtrun Redux plugin
A continuation of ClassicGuzzi's Deahtrun Redux plugin
Hi, there.
If you join the server and select a team round during pre-round freeze time (preparation time), the jointeam
command is blocked. This leaves the player unable to join a team without using a console command.
The problem seems to be that the plugin tries to retrieve any command the player uses during prep time from its command blocking team trie, but if the command doesn't exist, the team comparison integer remains at its initialised value of 0, so any commands used by someone with no team will be blocked because they are on team 0.
I've implemented a fix but am not sure if it will have any negative effects on other commands used by players with no team during prep time, without thorough testing. I doubt it will but that's up to you to decide as you may be more familiar with its workings. I don't know what I'm doing with GitHub or the best practice so I created a fork and have a link to the affected section of code: https://github.com/worMatty/Deathrun-Classic/blob/45bace9bb4fee1e3a17f775aa9637be3dbd18905/addons/sourcemod/scripting/deathrun_redux.sp#L1389
I also commented BUG on a couple of other things you may want to look at. If you need me to create a pull request or something let me know and I'll try to work it out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.