Raised This Month: $ Target: $400
 0% 

WebLync 0.0.13 - A MOTD redirection service


Post New Thread Reply   
 
Thread Tools Display Modes
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 08-23-2017 , 01:41   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #141

Like....

Code:
public bool OnReplaceCustomParam(int client, const char[] paramname, char[] buffer, int maxlength, const char[] command)
{
    format(buffer, maxlength, "%s", "something");
    return true;
}
?
__________________
Neuro Toxin is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 08-23-2017 , 05:00   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #142

I've updated the website.

- Input elements now have a new style
- Commands can now be 1 character long
__________________
Neuro Toxin is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 08-23-2017 , 11:10   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #143

Quote:
Originally Posted by Neuro Toxin View Post
Like....

Code:
public bool OnReplaceCustomParam(int client, const char[] paramname, char[] buffer, int maxlength, const char[] command)
{
    format(buffer, maxlength, "%s", "something");
    return true;
}
?
Yeah, something like that for command arguments, so when you register the command via the interface and have a custom replacement, the plugin receives the argument with the callback.
RumbleFrog is offline
Krushy
Member
Join Date: Jul 2014
Old 08-25-2017 , 10:35   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #144

I'm using 0.29 version of dynamic:

Quote:
L 08/25/2017 - 160:26: [SM] Exception reported: Unsupported member datatype (-1)
L 08/25/2017 - 160:26: [SM] Blaming: dynamic.smx
L 08/25/2017 - 160:26: [SM] Call stack trace:
L 08/25/2017 - 160:26: [SM] [0] ThrowNativeError
L 08/25/2017 - 160:26: [SM] [1] Line 55, ..\dynamic/system/datatypes/bool.sp::_GetBool
L 08/25/2017 - 160:26: [SM] [2] Line 127, ..\dynamic/system/datatypes/bool.sp::_Dynamic_GetBoolByOffset
L 08/25/2017 - 160:26: [SM] [3] Line 243, ..\dynamic/system/natives.sp::Native_Dynamic_GetBoolByOffset
L 08/25/2017 - 160:26: [SM] [5] Dynamic_GetBoolByOffset
L 08/25/2017 - 160:26: [SM] [6] Line 180, C:\Users\Milos\Desktop\surf\plugins 2.0\include\dynamic/methodmaps/dynamic.inc:ynamic.GetBoolByOffset
L 08/25/2017 - 160:26: [SM] [7] Line 85, C:\Users\Milos\Desktop\surf\plugins 2.0\include\dynamic/methodmaps/weblync/settings.inc::WebLyncSettings.ShowMessages.ge t
L 08/25/2017 - 160:26: [SM] [8] Line 391, C:\Users\Milos\Desktop\surf\plugins 2.0\weblync.sp:isplayWebLync
L 08/25/2017 - 160:26: [SM] [9] Line 345, C:\Users\Milos\Desktop\surf\plugins 2.0\weblync.sp::OnWebLyncLinkCommand
L 08/25/2017 - 160:27: [weblync.smx] Invalid API response (Server is not configured properly).
Krushy is offline
FlawlessKush
Member
Join Date: Mar 2014
Old 09-04-2017 , 02:27   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #145

Quote:
Originally Posted by FlawlessKush View Post
Can you make this work with css Counter:Strike Source, currently opens the motd window but then tries to open a 2nd popup window and its blank. I understand there is other plugins for css.. but i would like to use weblync across csgo/css
Quote:
Originally Posted by Neuro Toxin View Post
Do you see the redirect window counting down?
Quote:
Originally Posted by Kammi_ View Post
is there a way to get it work with cs:s ?
Late response here.

So this is how it originally looks after doing any chat trigger neuro.



So then i clicked "ok" on the motd and then this box stayed open ( yes can close it no problem, cool cause never seen this before on c:ss lol) & it took about 10 to 20 seconds to hit this redirection page & then it actual gives me the correct url but.. issue is will players wait this long or figure out how to bypass this bullshit?



Thanks for your time my friend.

Also could you please add normal chat triggers without !motd or /motd so when players type like motd in say cs:go aswell it would open up motd cause cs:go does not have this like c:ss does, again thanks for your time.
FlawlessKush is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 09-04-2017 , 02:34   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #146

Ok. Looks like in CS:S it doesn't need to open a popup to load the window.

I'll add a debug option to the link editor to disable using a popup window to see if that resolves the issue.
__________________
Neuro Toxin is offline
laenss
Member
Join Date: Feb 2017
Old 09-04-2017 , 05:28   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #147

I'm using your plugins well. But do you intend to support another language? I run a Korean server.

ex) !test -> !테스트 (Korean language)

Last edited by laenss; 09-04-2017 at 05:29.
laenss is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 09-04-2017 , 17:31   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #148

@FlawlessKush: Had a good go at CSS last night. How it works now is the best I can do.

@laenss: Soucepawn doesn't properly support unicode.
__________________
Neuro Toxin is offline
laenss
Member
Join Date: Feb 2017
Old 09-04-2017 , 22:07   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #149

Quote:
Originally Posted by Neuro Toxin View Post
@FlawlessKush: Had a good go at CSS last night. How it works now is the best I can do.

@laenss: Soucepawn doesn't properly support unicode.

So there's no way out?

I heard that you can use sayhook.

Site : site connection

How do I change this to Korean language? -> !사이트
laenss is offline
Dreizehnt
Junior Member
Join Date: Jan 2016
Location: Russian Federation
Old 09-14-2017 , 11:01   Re: WebLync 0.0.11 - A MOTD redirection service
Reply With Quote #150

Hi, the plugin works correctly, no problems with it, but I use it for the WebShortcuts plugin v2.7, why not fill in the list of links. For this plugin scolding me in the logs:
PHP Code:
L 09/14/2017 01:43:37Info (map "workshop/1129870368/cs_mansion_classic_hd") (file "errors_20170914.log")
L 09/14/2017 01:43:37: [xCHAT/CHAT_WEBLYNK.smx] Произошла ошибка при получении ссылок на серверы (Server has no configured links (Use !weblync to configure server links) []).
L 09/14/2017 01:43:37: [xCHAT/CHAT_WEBLYNK.smx] Произошла ошибка при получении ссылок на серверы (Server has no configured links (Use !weblync to configure server links) []). 
And I commented out this post simple, but you may need to bring this setting in the config file?
PHP Code:
public int ServerLinksResponse(char[] response)
{
    if (
StrContains(response"ERROR ") == 0)
    {
        
//LogError("%T", "WebLync.Links.Error", LANG_SERVER, response[6]);
    

__________________
Dreizehnt 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 08:21.


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