Results 1 to 4 of 4
  1. #1
    epicpawn's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    55

    K-Relay Raw Chat Input

    Hello,
    So I am still trying to download youtube captions. This time I have run into the issue that K-Relay does not keep all syntax of a URL intact when passing it into the args string. When I, the player, type in a URL K-Relay will return a URL that is missing backslashes (easy enough to fix I think) and is also all in lowercase (the larger issue).
    Input like this:
    https://www.youtube.com/watch?v=LCZ-cxfxzvk
    Becomes this:
    https:www.youtube.comwatch?v=lcz-cxfxzvk

    Does anyone know how to get the raw input from K-Relay?
    Thanks

    Temporary solution is to use a windows form to get the url
    Annnnnddd before I could test K-Relay doesnt want to work again...
    Last edited by epicpawn; 08-17-2017 at 01:20 AM.

  2. #2
    epicpawn's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    55
    bumping cause no responses. For what reason would KRelay turn arguments into all lowercase and remove backslashes (/)? And is there any way to get around this?
    Thanks

    Also like what the fuck is wrong with KRelay. It'll stop working for an hour or something and then will suddenly work again. I don't get it... just a little annoying when I'm trying to test this thing. Oh well... I'm just salty...
    Last edited by epicpawn; 08-17-2017 at 09:22 PM.

  3. #3
    ruusey's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    null;
    Posts
    327
    Reputation
    21
    Thanks
    539
    My Mood
    Cynical
    Quote Originally Posted by epicpawn View Post
    bumping cause no responses. For what reason would KRelay turn arguments into all lowercase and remove backslashes (/)? And is there any way to get around this?
    Thanks

    Also like what the fuck is wrong with KRelay. It'll stop working for an hour or something and then will suddenly work again. I don't get it... just a little annoying when I'm trying to test this thing. Oh well... I'm just salty...
    For the krelay part they probably hit the char list end endpoint which times out after some number of attempts the server blocks your ip from making any more requests.

    For the first question: That's also how krelay operates when playertext packets are received. Mine does a simalar thing in autoparsing the command. Maybe add placeholders to the URL for backslashes then add the slashes in. My player text parsing goes like this

    Player text received. Get the raw text. Remove all slashes and split the string on spaces. The first string become the command and the rest becomes the Args. You then invoke and handle from there.
    Last edited by ruusey; 08-18-2017 at 08:58 AM.

  4. #4
    epicpawn's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    55
    I don't think that the backslashes are a problem as they are relatively predictable. However, how would I parse the text that the player entered if I cannot use the args string. Currently, the path I was going to take for this was to prompt for the URL in a windows form or something.
    Thanks @ruusey

Similar Threads

  1. Replies: 17
    Last Post: 06-11-2015, 03:28 PM
  2. [Help Request] Prevent key input on chat
    By 13372281488 in forum Grand Theft Auto 5 (GTA V) Help
    Replies: 1
    Last Post: 06-02-2015, 12:48 AM
  3. [Help] Call of Duty Chat Input
    By teleme123 in forum Call of Duty 1 Hacks
    Replies: 1
    Last Post: 01-10-2015, 12:13 PM
  4. [Realm Relay] Mailbox + Chat timestamp
    By IziLife in forum Realm of the Mad God Tutorials & Source Code
    Replies: 11
    Last Post: 02-06-2014, 06:24 AM
  5. [Help] SAMP Chat Input
    By Trololo1234 in forum Visual Basic Programming
    Replies: 1
    Last Post: 12-15-2013, 08:17 AM