Raised This Month: $51 Target: $400
 12% 

Force HTML MOTDs v1.0.5 (Updated: 3/10/11)


Post New Thread Reply   
 
Thread Tools Display Modes
LightmaxD
Junior Member
Join Date: Nov 2011
Location: Deanmark
Old 11-29-2011 , 12:35   Re: Force HTML MOTDs (v1.0.1)
Reply With Quote #11

Hey Panda.
I just wanned to know:
If a player dont has his cl_disablehtmlmotd to 0, are there somewhere he just can push a buttom or something to set his cl_disablehtmlmotd to 0, if he doesn't have it ?
Cuz that could make it a lot easier for the player.
LightmaxD is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-29-2011 , 13:04   Re: Force HTML MOTDs (v1.0.1)
Reply With Quote #12

The only methods of changing it are via console (cl_disablehtmlmotd 0), or via the instructions that are provided by !motdhelp ~ escape/options/multiplayer/advanced/uncheck/apply.
__________________
thetwistedpanda is offline
LightmaxD
Junior Member
Join Date: Nov 2011
Location: Deanmark
Old 11-30-2011 , 10:24   Re: Force HTML MOTDs (v1.0.1)
Reply With Quote #13

Okay thx

so its not possible in any way, to fx. make an menu then you type !motdhelp
where it says: "You are not allowed to play on this server without cl_disablehtmlmotd 0 active" or sometking like that, and then i could say, "Press 2 to change your cl_disablehtmlmotd to 0"
that ain't possible in any way at all or what? :s

**edit**
And i forgot:
I tried this pluging, (Thumbs up thx ) on my server, but it just said that "You are not allowed to play on this server without cl_disablehtmlmotd 0 active" , but dind't prevent me from joining a team ?

Last edited by LightmaxD; 11-30-2011 at 10:28. Reason: Forgot:
LightmaxD is offline
LightmaxD
Junior Member
Join Date: Nov 2011
Location: Deanmark
Old 11-30-2011 , 11:23   Re: Force HTML MOTDs (v1.0.1)
Reply With Quote #14

And i don't know, if its only on my server this bug comes up. (its not a big deal on a FFA server but anyway)
my radar acted weird. i joined a team, and the on the radar, ppl are just big red and blue dots xD (don't know why, but i wonted you to know it)

**edit**
okay lol, i removed the addon from the server, and turned it on, shut it down and installed it agian. now the bug is gone xD (weird)

Last edited by LightmaxD; 11-30-2011 at 11:26. Reason: lol?
LightmaxD is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-30-2011 , 11:33   Re: Force HTML MOTDs (v1.0.1)
Reply With Quote #15

Quote:
Originally Posted by LightmaxD View Post
Okay thx

so its not possible in any way, to fx. make an menu then you type !motdhelp
where it says: "You are not allowed to play on this server without cl_disablehtmlmotd 0 active" or sometking like that, and then i could say, "Press 2 to change your cl_disablehtmlmotd to 0"
that ain't possible in any way at all or what? :s

**edit**
And i forgot:
I tried this pluging, (Thumbs up thx ) on my server, but it just said that "You are not allowed to play on this server without cl_disablehtmlmotd 0 active" , but dind't prevent me from joining a team ?
No, the server cannot change client-side cvars, for good reason. Don't want to join a server and have it override all your settings.
__________________
Dr. McKay is offline
LightmaxD
Junior Member
Join Date: Nov 2011
Location: Deanmark
Old 11-30-2011 , 12:13   Re: Force HTML MOTDs (v1.0.1)
Reply With Quote #16

@Dr. MsKay Oh, i see. of cause. xD

_ But i still got problem with the "prevent players joining a team" thing. i doesen't wotk.
LightmaxD is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-30-2011 , 13:24   Re: Force HTML MOTDs (v1.0.1)
Reply With Quote #17

I'd have to guess that you have a plugin that is getting past the redundant code to keep a player in spectate; can you post a sm plugins list? Next update I'll throw in some CS:S specific code and simply block jointeam/joinclass when the motd is disabled, but used the generic method so that TF2 might benefit.

Revision v1.0.2
- Removed cstrike dependency (why it was there, who knows)
- Removed a random LogError left over from testing phase
- Added optional cstrike support for preventing jointeam/joinclass from functioning if motd is disabled
- Added further checks to ensure players stay on spectate if motd is disabled.
__________________

Last edited by thetwistedpanda; 11-30-2011 at 13:39.
thetwistedpanda is offline
LightmaxD
Junior Member
Join Date: Nov 2011
Location: Deanmark
Old 12-01-2011 , 09:04   Re: Force HTML MOTDs (v1.0.2)
Reply With Quote #18

my SM plugins:
addadmin
admin-flatfile
adminhelp
adminmenu
advertisements
antiflood
antirejoin
basebans
basechat
basecomm
basecommands
basetriggers
basevotes
clientprefs
funcommands
funvotes
lastx
nextmap
playercommands
reservedslots
sm_force_html_motd
Resetscore
sounds
vbping

**edit**
this is just weird, i removed the pluing, downloaded v1.0.2 and now it works.

this is a great plugin, and thx for the help !

Last edited by LightmaxD; 12-01-2011 at 10:18.
LightmaxD is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-01-2011 , 16:25   Re: Force HTML MOTDs (v1.0.2)
Reply With Quote #19

MOTD would work both cl_disablehtmlmotd 0/1
when you remove all HTML code and add only text in motd.txt

Or file what you have set in cvar
"motdfile" = "motd.txt"
game
- The MOTD file to load.



As currently this cvar have no effect...
"motdfile_text" = "motd_text.txt"
game
- The text-only MOTD file to use for clients that have disabled HTML MOTDs.


This was troll post , use plugin if you like
__________________
Do not Private Message @me
Bacardi is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 12-01-2011 , 16:54   Re: Force HTML MOTDs (v1.0.2)
Reply With Quote #20

If they're using a text based motd they're not having any problems and would have no reason to use this plugin >.<.

Revision 1.0.3
- Quick update to solve an error being thrown due to messy handle code.
__________________

Last edited by thetwistedpanda; 12-04-2011 at 03:48.
thetwistedpanda is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode