Ulysses Stuff > Releases
CS:S Installation Checker
Luk | twitch.tv/doctorluk:
ULX Counter-Strike: Source Installation Checker
Plugin Description
This plugin checks whether a player has installed CS:S. This is especially useful when you run a server that runs maps and other content that require CS:S to be installed. In TTT, players can ruin a Traitor's round if they disconnect right after seeing they can't play because they can't see anything.
Installation
1. Download the plugin here: https://github.com/doctorluk/ULX-CSS-Checker
2. Unzip the file
3. Upload the folder cs_resource_check into your garrysmod\addons folder
Configuration
All configuration options can be found at cs_resource_check\lua\autorun\server\sv_cs_config.lua and every line is documented.
I don't have much experience with GMod's Lua and if you have any suggestions to improve the plugin, don't hesitate to tell me!
My other plugins: TTT Role Announcer, ULX Age Verificator, Karma Betting for TTT
roastchicken:
I created a pull request on the GitHub repo. The gist of it is that net.Receive's callback function is passed a second argument serverside: the player who sent the net message. This means you don't need to send the player's SteamID in the net message, as the player is already included in the net message.
Feel free to ask any questions (here or on the pull request itself).
Luk | twitch.tv/doctorluk:
Thank you very much for the quick suggestions. I've been assembling the code by just copying code examples. I understand what they do, but some stuff is just omitted or requires quite the amount of time to read.
This is the reason I've not (really) advertised my Age Verification addon here since I bet that there is some stuff that is edgy.
Again, very appreciated!
Undercover Orange:
does this addon also see if you installed textures for http://kajar9.wix.com/cscheater2#!downloads/chgd (textures are put in the addons folder all together) Reason I ask is cause I know a lot of people who use this method (including myself)
Bite That Apple:
--- Quote from: Undercover Orange on August 28, 2016, 06:45:02 PM ---does this addon also see if you installed textures for http://kajar9.wix.com/cscheater2#!downloads/chgd (textures are put in the addons folder all together) Reason I ask is cause I know a lot of people who use this method (including myself)
--- End quote ---
According to what I read here: https://github.com/doctorluk/ULX-CSS-Checker/blob/master/cs_resource_check/lua/autorun/server/sv_cs_content_check.lua it looks like it checks to see if CSS is mounted. If CSS is not mounted, then it checks a generic list of textures/models (https://github.com/doctorluk/ULX-CSS-Checker/blob/master/cs_resource_check/lua/autorun/server/sv_cs_filelist.lua), which at the moment only checks 15 files by default and checks to see if they exist on the clients PC. If all 15 checkout, then it gives the green light, if one of those files is missing, then it kicks the player.
So to answer your question, if you were stealing/borrowing/cheating for CSS, and all the files were in the correct location, then this program would be okay with you.
- - -
Not dissing your addon, but in my opinion, people should have freaking Counter Strike Source by now. It's been on sale like thousands of times, pretty much free at this point. A lot of addons require to use it, so not having it by this day and age is just stupid. People shouldn't be allowed to buy garry's mod without having counter strike source.
Navigation
[0] Message Index
[#] Next page
Go to full version