Page 665 of 708 FirstFirst ... 165565615655663664665666667675 ... LastLast
Results 6,641 to 6,650 of 7076
  1. #6641
    Quote Originally Posted by klait68 View Post
    Is there a possibility to add another discord-option: If a player was banned and kicked from server to post it via discord in an discord channel ?
    Not until Procon is updated to a newer version of .NET, which might be possible for newer versions of AdKats. Releasing a 'beta' version of procon on the newer .NET releases but keeping the old version available for backwards compatibility purposes.
    Last edited by ColColonCleaner; 17-10-2017 at 14:36.
    ____

  2. #6642
    This is the version i'm looking to test:
    https://github.com/I-MrFixIt-I/Procon-1/tree/dotnet-4.7
    I-MrFixIt-I modified the procon project for .NET 4.7 and added UTF-8 support

    If testing goes well for AdKats, stat logger, insane limits, and multibalancer it should be fine for all other BF4/BF3 plugins since these are the most intrusive plugins for utilizing procon functions. And I'll push that to the admins for accepting as a beta release (if not a full release).

    Then I will be able to do a lot more things I couldn't do before. The first being FINALLY fixing the URL encoding of non-standard player names with battlelog since they can have special characters in them now. Secondly implementing proper Discord integration with WebSockets.
    ____

  3. #6643
    Quote Originally Posted by klait68 View Post
    Is there a possibility to add another discord-option: If a player was banned and kicked from server to post it via discord in an discord channel ?
    I do have mine setup to do this although it does take a few steps.

    First I use https://forum.myrcon.com/showthread....hlight=banfeed to create an XML feed.

    Create a new webhook in Discord.

    Then use zapier.com to POST the RSS feed to the webhook you just created.




  4. #6644
    Senior Member
    Join Date
    Apr 2013
    Location
    Russia
    Posts
    245
    Quote Originally Posted by ColColonCleaner View Post
    Not until Procon is updated to a newer version of .NET, which might be possible for newer versions of AdKats. Releasing a 'beta' version of procon on the newer .NET releases but keeping the old version available for backwards compatibility purposes.
    You don't need websockets to post such of data, but http/rest api. Isn't it?

    Quote Originally Posted by Sp0rAdiC View Post
    I do have mine setup to do this although it does take a few steps.

    First I use https://forum.myrcon.com/showthread....hlight=banfeed to create an XML feed.

    Create a new webhook in Discord.

    Then use zapier.com to POST the RSS feed to the webhook you just created.
    Just want to mention an alternative service - ifttt.com
    Despite the fact that the zapier.com is more functional their free plan is limited.

    There is another option using the ability of the InsaneLimits to post to Twitter (for examle: https://twitter.com/InsaneLimits) and then post that tweets to Discord webhook through Zapier or IFTTT.

  5. #6645
    Quote Originally Posted by Chilace View Post
    You don't need websockets to post such of data, but http/rest api. Isn't it?
    The only thing available over http/rest is their widgets.json URL for each server which is cached, and that cache is invalidated at a 5 minute interval. All other communication requires websockets. I've confirmed this with the discord API devs.
    ____

  6. #6646
    Senior Member
    Join Date
    Apr 2013
    Location
    Russia
    Posts
    245
    Quote Originally Posted by ColColonCleaner View Post
    The only thing available over http/rest is their widgets.json URL for each server which is cached, and that cache is invalidated at a 5 minute interval. All other communication requires websockets. I've confirmed this with the discord API devs.
    Websockets need to sync with players, channels, for using bots etc. but for posting baninfo into channel trough webhook you only have to post simple http post request with json string in body to webhook endpoint: https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}.
    Similar to how you did it with pushbullet.

    Intro to Webhooks: https://support.discordapp.com/hc/en...ro-to-Webhooks

    Also see my previous posts:
    https://forum.myrcon.com/showthread....l=1#post139497
    https://forum.myrcon.com/showthread....l=1#post139522
    https://forum.myrcon.com/showthread....l=1#post139597

    P.S. May be better to implement this feature on the backend of the BFAdminCP
    P.P.S. Just temporary create test webhook on your server and tell me his url in options & I'll send "hello world" to you channel without authorization and websokets.
    Last edited by Chilace; 17-10-2017 at 20:16.

  7. #6647
    Quote Originally Posted by Chilace View Post
    Websockets need to sync with players, channels, for using bots etc. but for posting baninfo into channel trough webhook you only have to post simple http post request with json string in body to webhook endpoint: https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}.
    Similar to how you did it with pushbullet.

    Intro to Webhooks: https://support.discordapp.com/hc/en...ro-to-Webhooks

    Also see my previous posts:
    https://forum.myrcon.com/showthread....l=1#post139497
    https://forum.myrcon.com/showthread....l=1#post139522
    https://forum.myrcon.com/showthread....l=1#post139597

    P.S. May be better to implement this feature on the backend of the BFAdminCP
    P.P.S. Just temporary create test webhook on your server and tell me his url in options & I'll send "hello world" to you channel without authorization and websokets.
    Ah yes, i had forgotten what the discussion with the devs was actually about. Websockets were required to get information FROM the server, member names, their presence in voice channels etc, at a faster rate than every 5 minutes. You can still use this method for posting data TO discord. Didn't remember that detail.
    ____

  8. #6648
    Senior Member
    Join Date
    Mar 2014
    Location
    Russia, Moscow
    Posts
    499
    Quote Originally Posted by ColColonCleaner View Post
    This is the version i'm looking to test:
    https://github.com/I-MrFixIt-I/Procon-1/tree/dotnet-4.7
    I-MrFixIt-I modified the procon project for .NET 4.7 and added UTF-8 support

    If testing goes well for AdKats, stat logger, insane limits, and multibalancer it should be fine for all other BF4/BF3 plugins since these are the most intrusive plugins for utilizing procon functions. And I'll push that to the admins for accepting as a beta release (if not a full release).

    Then I will be able to do a lot more things I couldn't do before. The first being FINALLY fixing the URL encoding of non-standard player names with battlelog since they can have special characters in them now. Secondly implementing proper Discord integration with WebSockets.
    Can he optimize this for working with Linux or through Mono?

  9. #6649
    Quote Originally Posted by Hodor View Post
    Can he optimize this for working with Linux or through Mono?
    I don't think there is any current work being done to further procon on the Linux platform.

    Sent from my SM-G920P using Tapatalk
    ____

  10. #6650
    Senior Member
    Join Date
    Mar 2014
    Location
    Russia, Moscow
    Posts
    499
    @ColColonCleaner
    How to download 1.5.2.0 ?

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •