Raised This Month: $32 Target: $400
 8% 

[ANY] Web Shortcuts (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
WeDoItLive
Member
Join Date: Mar 2015
Old 05-23-2017 , 10:55   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #191

Quote:
Originally Posted by andriyzver View Post
I use a simple code to open the pages of sites in the motd window with commands in the chat:
Code:
"!kiss"
{
    "Url"        "http://www.kissfm.ua/player"
    "Title"        "Радио Kiss FM"
}
But I have such a problem. When I write commands into the chat - they are hidden and not visible to other players. And the players do not know them. Because the players do not see how these commands write other players or me. Is this the work of the plugin, bug or do I need to add something in the code?
You don't need the extra ! in "!kiss." Just put "kiss" because the current way you have it will force you to type !!kiss for it to work correctly.

If that doesn't work, the cyrillic could break it.. I've never tested it but I've seen stuff like that before.
WeDoItLive is offline
andriyzver
Junior Member
Join Date: May 2016
Old 05-24-2017 , 16:01   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #192

Quote:
Originally Posted by WeDoItLive View Post
You don't need the extra ! in "!kiss." Just put "kiss" because the current way you have it will force you to type !!kiss for it to work correctly.

If that doesn't work, the cyrillic could break it.. I've never tested it but I've seen stuff like that before.
I took the code from the first page:
Code:
"rules"
{
    "Url" "http://websitehere.com/rules/"
    "Title" "Rules and Regulations"
}
Created a new text file without Cyrillic alphabet.
But the problem is the same. When I enter "rules" into the chat, this word is hidden. Motd works and the link opens.
andriyzver is offline
andriyzver
Junior Member
Join Date: May 2016
Old 06-08-2017 , 05:59   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #193

Help me
andriyzver is offline
AwesomeX
Member
Join Date: Jul 2013
Old 06-09-2017 , 15:51   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #194

Recently, this seems to have stopped working on a Linux TF2 server. HTML pages don't seem to load anymore, just a black screen shows. Any ideas?
AwesomeX is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 06-09-2017 , 16:26   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #195

I know nothing about these issues sadly. I haven't been on TF2 in quite some time due to work. If anyone has any error logs from the new syntax version I posted above, please do post them and I'll take a look tomorrow (day off, hooray!). Error logs help me determine what's going on. You can also check for a sourcemod_fatal.log file in your servers' main tf/ directory which would indicate severe issues. Those are also helpful to me.

Last edited by 404UserNotFound; 06-09-2017 at 16:27.
404UserNotFound is offline
The enigma
Member
Join Date: Feb 2016
Old 10-08-2017 , 18:30   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #196

When ever I test this, the web page is just in the box when you join a map, rather than it taking up the screen like I have seen it done on other servers.
The enigma is offline
michaelrw
Senior Member
Join Date: Jul 2017
Old 10-14-2017 , 15:01   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #197

so this says its for any game, but im having trouble with it on CSGO. nothing in my error logs, and plugin loads fine. in console it says "Tried to look up command say as if it were a variable." when i issue my command
michaelrw is offline
ScottieKnowz
Junior Member
Join Date: Mar 2018
Location: Wisconsin, US
Old 05-08-2018 , 16:28   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #198

Some developers really hate their lives. Simple error reporting could have saved this thread from 100+ comments.

redacted, no source

Use this. This includes the config file I use as well as the plugin that I changed up a bit to work on all Operating Systems. This also includes some better error handling to be more specific with errors, rather than just not working like a lot of people are witnessing.

Note: This includes the updated methods, and deprecation fixes found here:
https://forums.alliedmods.net/showpo...&postcount=194

Last edited by sneaK; 05-09-2018 at 01:21. Reason: no source
ScottieKnowz is offline
Sarin
Senior Member
Join Date: Nov 2014
Location: Sydney, Australia
Old 03-11-2019 , 02:36   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #199

Has anyone noticed that the motd box with the webpage in it doesnt work anymore?
Even my webpage motd doesnt work and only loads motd_text.txt
Sarin is offline
Sarin
Senior Member
Join Date: Nov 2014
Location: Sydney, Australia
Old 03-11-2019 , 02:58   Re: [ANY] Web Shortcuts (Redux)
Reply With Quote #200

Quote:
Originally Posted by 404UNF View Post
Didja try my updated syntax version from the post before yours?
Says i need steamtools.......
Sarin is offline
Reply


Thread Tools
Display Modes

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 17:16.


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