Jump to content

oj

Advanced Members
  • Content Count

    451
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by oj


  1. 26 minutes ago, xLaming said:

    Yet xat can store next dates, what about old marriages/bff?

    every1 would either have to spend 200 xats to remarry (dumb)

    or xat would have to set every1 to the same date as when it got added (most reasonable)

    lol

     

    would be cool to see how long you've been married/bffed, the system just was never made with that in mind it seems

    • Thanks 1

  2. 1 hour ago, xLaming said:

    ?r=[chat id1, chat id2]

    ?r=[5, 123]

     

    is easier for you and us, not? because you can check it's array using PHP itself

    honestly prefer this ↓ than json array

     

    1 hour ago, xLaming said:

    ?r=123&r=5 or ?r[]=123&r[]=5

     

    easier in some langs, harder in others; so idk


  3. 20 minutes ago, Admin said:

    If I do

     

    Checking the token's validity by sending a request with no room and no info (?u=12345&k=deadbeefcafebabe)

    Specifying multiple chats in a single request (?r=123&r=5 or ?r[]=123&r[]=5)

    Using chat names instead of id (?r=Chat or ?r=xat5)

     

    but not this:

    Specifying no chats to affect every chats the user is currently connected at

     

    Is that good enough ?

    It's a good start


  4. 2 hours ago, Junior said:

    Yes, I have. I mean, apart from making it useable without dealing with client bots or bot providers.

    The main usage for this (as you've said) is for using botstat (as an api) without having to use cilent bots or bot providers as a medium.

    As you know, it would allow for various desktop applications to be created to push live (hopefully) updates to the chat.

     

    I'm not really sure what else (besides this) which could be changed about botstat.

    Right now, I was and am more concerned about usability of the already defined features, which seemed to do what we would typically expect.

    After that, I hope people will have suggestions on various features to add/change for it.

     

    Maybe things like:

    • Enabling/disabling powers (not super useful, but in specific scenarios, maybe)
    • Sending messages (sounds kinda yikes)
    • idk?

    There really isn't more to do with it than name/status/avatar/home changes as of now that seems super useful to me.


  5. 12 hours ago, Daniel said:

    Now that the API key seems to be implemented, will changes be made to botstat?

     

    @Admin

    I've continuously pc'd it to him because he asked me to and he just recently said "what about it" (shrug) so ... I don't have high hopes

    It's already dead content anyway (like usual) because it's never up to standards upon release and features are slow to be implemented.


  6. 2 hours ago, Daniel said:

    Industry standard?

    Perhaps, though I don't think providing a standard format/usage for something is the same as it being the standard.

    2 hours ago, Daniel said:

    Ease of use?

    I dunno dude this seems like a lot more work than just copy pasting. Imo, maybe on a larger scale it would tailor to usability, but not for a 1-file resource.

     

    To each their own, still all personal preference.

    • Award 2

  7. 7 hours ago, Jedi said:

    "Works perfectly" != ready to be implemented in any project.

    You said unusable. Also, I don't see how it's not ready to be implemented? Please enlighten me as I implemented it just fine.

    His his style of doing things isn't wrong just because it doesn't fit your conventional style.

     

    7 hours ago, Jedi said:

    Edit: I did a fast review of your code.

    So you didn't even look at his code in the first place before deeming it unusable? Laughable.

     

    7 hours ago, Jedi said:

    First, do you want to use PHP7 for this library?

    Instead of cast each return of your functions, you can use https://www.php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration

    And returns are random, object/int/bool, can you use string? (return formated json)

    [redacted]

     

    After all these changes, you will be able to use composer.

    Then if a developer wants to use your library, he can use "composer require xlaming/xatlib", and use it in his project "Use xlaming/xatlib" "$gifts = xatlib::userGifts(123456);"

    All personal preference.

     

    7 hours ago, Jedi said:

    About code replicate, you have 3 times is_epic, is_game... It would be better to create a private function.

    Facts. Reusable code is cool.

    • Award 2
    • Wow 1

  8. Sad to see you go, Marshall. Help and xat as a whole will never be the same place without you there. :) I thoroughly enjoyed reading your heartfelt autobiography and the tales of "Kondra and Zhunny." I had no idea about this! Hopefully you're feeling a lot better about things that happened in the past. In ore stulti vale.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.