New AI Commands!! (Time? and TPS?)

  1. ‹ Older
  2. 7 years ago
    Edited 7 years ago by GodOfDiscordia

    What is the command system for this?
    I've been trying to recreate this on my own world but have had no luck.

    I'm mostly stuck at how to use custom phrases to prompt /tellraw click event or general /say command

  3. @GodOfDiscordia What is the command system for this?
    I've been trying to recreate this on my own world but have had no luck.

    I'm mostly stuck at how to use custom phrases to prompt /tellraw click event or general /say command

    It's using my own custom panel alongside my own AI chat system.

  4. Edited 7 years ago by GodOfDiscordia

    @CraftyMyner It's using my own custom panel alongside my own AI chat system.

    Oh my this sounds much more in depth than I originally thought. I'll have to see if i have the muster/knowledge to recreate this.

    A basic scoreboard clock system certainly won't do the trick :P

  5. @GodOfDiscordia Oh my this sounds much more in depth than I originally thought. I'll have to see if i have the muster/knowledge to recreate this.

    A basic scoreboard clock system certainly won't do the trick :P

    The AI system doesn't use any command blocks except for running in-game announcements like the vote links.

  6. @CraftyMyner The AI system doesn't use any command blocks except for running in-game announcements like the vote links.

    Hmmm I see, so then in order to implement this you've created your own external code and attached it within the server files/ jar? Or am I still misunderstanding :o

  7. @GodOfDiscordia Hmmm I see, so then in order to implement this you've created your own external code and attached it within the server files/ jar? Or am I still misunderstanding :o

    No modification to the jar, there is a program that runs the jar file and watches the output (My panel). This program looks for questions (stuff that starts with who/what/when/where/why or ends with "?" a bit more complicated than that) and sends the questions to my service that resolves them and sends back a response in the form of a command to run.

  8. Edited 7 years ago by MisterReco

    If I'm not mistaken, correct me if I'm wrong, it uses a Neural Network, those are used for facial recognition and Go AI too, I think

  9. CraftyMyner No modification to the jar, there is a program that runs the jar file and watches the output (My panel). This program looks for questions (stuff that starts with who/what/when/where/why or ends with "?" a bit more complicated than that) and sends the questions to my service that resolves them and sends back a response in the form of a command to run.

    Or as I'd call it; Black Magic.

  10. Great, now give it the ability to learn new things on it's own! :P

  11. @_Haxington_ Great, now give it the ability to learn new things on it's own! :P

    Nope. Rampant AI is a deadly thing XD

  12. @BaronBattleBread Nope. Rampant AI is a deadly thing XD

    Lol jk

  13. @Jordi223b If I'm not mistaken, correct me if I'm wrong, it uses a Neural Network, those are used for facial recognition and Go AI too, I think

    Yes, it uses a combination of a Neural Network alongside a few other algorithms to find keywords and key statements. It uses that information to find the best match for the question.

  14. @CraftyMyner No modification to the jar, there is a program that runs the jar file and watches the output (My panel). This program looks for questions (stuff that starts with who/what/when/where/why or ends with "?" a bit more complicated than that) and sends the questions to my service that resolves them and sends back a response in the form of a command to run.

    Okay cool! I appreciate the response. I have a lot to digest and test!

  15. Can you put "tps?" back?

  16. I think its too lag for when it check though

  17. @TheSpiderman2013 Do we really need it back? It's easy to tell when the server is lagging, do we gain anything from actually seeing the tick rate? Besides the inevitable chat spam, and potentially more lag from running the command (like Bobcat said).

  18. Edited 7 years ago by CraftyMyner

    @TheSpiderman2013 Can you put "tps?" back?

    I have already given my answer, it's too spammy and it promotes a toxic environment around the already annoying lag issues.

    Sample:

    Player1: is anyone lagging?
    Player1: tps?
    Server: One sec, let me check on that.
    Server: The current server tps is (something less than 20.0)
    Player1: Why is the server lagging?
    Server: Ask Mojang why their game lag's
    Player2: This server is shit it can't even run 20tps
    Player3: It probably is some sort of shitty potato in owners basement.
    Staff1: server specs?
    Server: i7 6700k @ 4.7ghz, 64gb ram, 500gb ssd, 1gbps
    Player4: There's your problem, you should be using (some $11k 40core xeon cpu running at 2.3ghz)
    Staff2: No, Minecraft is not optimized to take advantage of multiple cores.

    "TPS?" doesn't cause any lag, however, it is not very accurate because it only takes a 5-second sample.

  19. @CraftyMyner I have already given my answer, it's too spammy and it promotes a toxic environment around the already annoying lag issues.

    Staff1: server specs?
    Server: i7 6700k @ 4.7ghz, 64gb ram, 500gb ssd, 1gbps
    Player4: There's your problem, you should be using (some $11k 40core xeon cpu running at 2.3ghz)
    Staff2: No, Minecraft is not optimized to take advantage of multiple cores.

    I have a question about this, how many players could the server run without lag, if we used plugins?

  20. Edited 7 years ago by CraftyMyner

    @Jordi223b I have a question about this, how many players could the server run without lag, if we used plugins?

    300+, there are servers like ours that have run 500+ on one server.

  21. Gnute57

    29 Jan 2017 Suspended

    @CraftyMyner After a lot of work restructuring the panel to be able to reliably get a response to a command it runs, I was able to throw together two new commands for the ServerAI.

    Time? (or asking "what time it is/is it daytime" etc... )

    This will let you know the time of day in game as well as a more easy to read string like "Day" or "Night", great for when you are mining.

    TPS? (Ticks Per Second)

    This command will take a sample of how fast the server is running compared to what it should be. (20.0tps) It will show the tps along with a color representing how much load the server is under.

    Why it took so long

    At first glance it looked like an easy thing to do, but as soon as I started, it was very clear it wasn't. It's easy to run a command and forget about the result, but keeping track of the output is much more difficult. You need to know whether or not it succeeded, then get the results back to the place that called on the command without stopping the whole program, all with the knowledge that it could fail at anytime, not respond, give something completely different or even come out of order.

    -image-

    how does the tick speed system work?

  22. Newer ›

or Sign Up to reply!