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

[ANY] Web Shortcuts (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
eric0279
AlliedModders Donor
Join Date: May 2007
Old 11-27-2015 , 00:08   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #151

Hello,

i have a suggestion, it's possible to add for mumble?

because:
Quote:
Blocking MOTD URL 'mumble://s1.mymumble.fr:XXXXX/?version=1.2.3'; must begin with 'http://' or 'https://' or be about:blank
eric0279 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 11-27-2015 , 03:20   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #152

Quote:
Originally Posted by eric0279 View Post
Hello,

i have a suggestion, it's possible to add for mumble?

because:

Code:
Blocking MOTD URL 'mumble://s1.mymumble.fr:XXXXX/?version=1.2.3'; must begin with 'http://' or 'https://' or be about:blank
Nope, you cannot do that.

Doing so would also be very nasty...

MOTD only works with normal links (and the blank page), as the description of your quoted error says.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 11-27-2015 , 09:02   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #153

ok, thank you.
eric0279 is offline
Snapman
Junior Member
Join Date: Dec 2004
Location: California
Old 02-04-2016 , 05:12   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #154

With the release of steams MOTD fix, this plugin now crashes player's clients when clicking on any link within the MOTD window.
__________________
Snapman is offline
Send a message via AIM to Snapman
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 02-06-2016 , 20:21   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #155

Why is there no reload function?

When i do "sm_rcon sm plugins reload WebShortcuts.smx"

it simply says "[SM] Failed to reload plugin Web Shortcuts."


Dragonisser is offline
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 02-06-2016 , 21:59   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #156

Quote:
Originally Posted by Dragonisser View Post
Why is there no reload function?

When i do "sm_rcon sm plugins reload WebShortcuts.smx"

it simply says "[SM] Failed to reload plugin Web Shortcuts."


This usually means that there is an error in the plugin, try loading it to see if anything's up.
Phil25 is offline
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 02-07-2016 , 06:53   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #157

Quote:
Originally Posted by Phil25 View Post
This usually means that there is an error in the plugin, try loading it to see if anything's up.

WebShortcuts.sp(17) : error 169: cannot tag an enum as implicit-int
WebShortcuts.sp(25) : error 169: cannot tag an enum as implicit-int

Warning 213: tag mismatch on nearly every line

WebShortcuts.sp(553) : Warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId

WebShortcuts.sp(526) : warning 234: symbol "GuessSDKVersion" is marked as deprecated: See GetEngineVersion()


Seems like the developer doesnt use sm 1.7 since the enums changed:

Code:
enum _:States {
	Game_TF2 = (1<<0),
	Game_L4D = (1<<1),
	Big_MOTD = (1<<8)
};

new g_iGameMode;

enum _:FieldCheckFlags
{
	Flag_Steam_ID			=	(1<<0),
	Flag_User_ID			=	(1<<1),
	Flag_Friend_ID			=	(1<<2),
	Flag_Name				=	(1<<3),
	Flag_IP					=	(1<<4),
	Flag_Language			=	(1<<5),
	Flag_Rate				=	(1<<6),
	Flag_Server_IP			=	(1<<7),
	Flag_Server_Port		=	(1<<8),
	Flag_Server_Name		=	(1<<9),
	Flag_Server_Custom		=	(1<<10),
	Flag_L4D_GameMode		=	(1<<11),
	Flag_Current_Map		=	(1<<12),
	Flag_Next_Map			=	(1<<13),
	Flag_GameDir			=	(1<<14),
	Flag_CurPlayers			=	(1<<15),
	#if defined _steamtools_included
	Flag_MaxPlayers			=	(1<<16),
	Flag_VACStatus			=	(1<<17),
	Flag_Server_Pub_IP		=	(1<<18),
	Flag_Steam_ConnStatus	=	(1<<19)
	#else
	Flag_MaxPlayers			=	(1<<16)
	#endif  /* _steamtools_included	 */
};
Error less, dunno if it works
Code:
enum {
	Game_TF2 = (1<<0),
	Game_L4D = (1<<1),
	Big_MOTD = (1<<8),
	States
};

new g_iGameMode;

enum {
	Flag_Steam_ID			=	(1<<0),
	Flag_User_ID			=	(1<<1),
	Flag_Friend_ID			=	(1<<2),
	Flag_Name				=	(1<<3),
	Flag_IP					=	(1<<4),
	Flag_Language			=	(1<<5),
	Flag_Rate				=	(1<<6),
	Flag_Server_IP			=	(1<<7),
	Flag_Server_Port		=	(1<<8),
	Flag_Server_Name		=	(1<<9),
	Flag_Server_Custom		=	(1<<10),
	Flag_L4D_GameMode		=	(1<<11),
	Flag_Current_Map		=	(1<<12),
	Flag_Next_Map			=	(1<<13),
	Flag_GameDir			=	(1<<14),
	Flag_CurPlayers			=	(1<<15),
	#if defined _steamtools_included
	Flag_MaxPlayers			=	(1<<16),
	Flag_VACStatus			=	(1<<17),
	Flag_Server_Pub_IP		=	(1<<18),
	Flag_Steam_ConnStatus	=	(1<<19)
	#else
	Flag_MaxPlayers			=	(1<<16),
	FieldCheckFlags
	#endif  /* _steamtools_included	 */
};
Edit:

Nope still [SM] Failed to reload plugin Web Shortcuts.

Last edited by Dragonisser; 02-07-2016 at 07:22.
Dragonisser is offline
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 02-07-2016 , 10:52   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #158

Quote:
Originally Posted by Dragonisser View Post
Nope still [SM] Failed to reload plugin Web Shortcuts.
No, I meant simply "sm plugins load WebShortcuts"
Phil25 is offline
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 02-07-2016 , 11:44   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #159

Quote:
Originally Posted by Phil25 View Post
No, I meant simply "sm plugins load WebShortcuts"
Its already loaded, why should i load it again.
Dragonisser is offline
Snapman
Junior Member
Join Date: Dec 2004
Location: California
Old 02-09-2016 , 11:31   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #160

Anybody have a suggestion on an alternative, can't use this for my codename cure servers due to the issue with clients locking up or crashing when attempting to click any link within the popup window.

Or better yet, would making the change from motd window popup to steam browser window popup be difficult?
__________________

Last edited by Snapman; 02-09-2016 at 13:05.
Snapman is offline
Send a message via AIM to Snapman
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 02:52.


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