View Single Post
Author Message
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-10-2011 , 12:12   Fake sv_downloadurl to players
Reply With Quote #1

Rant:
Warning!
Don't use this in CS:GO game (or even L4D games)
Players stuck loading screen when they join to server.



Fake sv_dowloadurl to players
- Send fake sv_downloadurl "URL" to all players, they still download missing content from your real URL

Simple plugin what change players convar sv_downloadurl "text"
*edit
This not protect your server downloadurl 100%


If you didn't know, players can peek server sv_downloadurl when they connected.



Cvars
Quote:
sm_fakedownloadurl_version "1.0"
// Plugin version

sm_fakedownloadurl "Add here your fake URL"
// "" empty by default
// Fake dowload URL to players, text max 99 length


sm_fakedownloadurl_enabled "1"
// 1 by default
// Enable/Disable Fake dowload URL to players
- Plugin not generate config file
- To reset players sv_downloadurl back, disable plugin and change map (player need reconnect)
- To see fake url changes, add new sm_fakedownloadurl "text" and disable/enable plugin.


*edit
Seems douple backslash // broke text when type directly in cvar, (http://www.trollolloo.com/mod/).
Works when you add in config file.
Attached Thumbnails
Click image for larger version

Name:	console.gif
Views:	14835
Size:	3.6 KB
ID:	93645  
Attached Files
File Type: sp Get Plugin or Get Source (fake_sv_downloadurl.sp - 4817 views - 1.9 KB)

Last edited by Bacardi; 03-03-2013 at 07:01. Reason: You didn't set your public cvar :3
Bacardi is offline