GithubHelp home page GithubHelp logo

Comments (8)

beamer159 avatar beamer159 commented on May 18, 2024 2

Hmm, I am still getting the same behavior.

public void run() {
    turnRight(360);
}

This program turns indefinitely for me.

Additionally, after the bot completes 8 revolutions, it spams this message (I assume) every tick:

Maximum event queue size has been reached: 256

Also, same behavior is now experienced for forward and back

from tank-royale.

flemming-n-larsen avatar flemming-n-larsen commented on May 18, 2024

You are right @beamer159,

This sure sound similar to to the forward/back issue even when they funtion a bit different.

I guess I will need to setup some test with various "bots" moving differently, so we can catch these kinds of bugs in the future when doing adjustments.

Thank you for reporting this, and keep up the good work. We need to get rid of the "child sickness" in the new version of the game while it is still in "alpha" version. 🙂

from tank-royale.

flemming-n-larsen avatar flemming-n-larsen commented on May 18, 2024

I can add, that this bug is also present for turning the gun and radar the same way.

from tank-royale.

flemming-n-larsen avatar flemming-n-larsen commented on May 18, 2024

This bug has now been found and solved for both the JVM and .Net version of the Bot API.
The fix will be available with the next release.

from tank-royale.

flemming-n-larsen avatar flemming-n-larsen commented on May 18, 2024

Fix is available with release 0.13.1

from tank-royale.

flemming-n-larsen avatar flemming-n-larsen commented on May 18, 2024

@beamer159

Confirmed. This bug was fixed, but was reintroduced when improving/fixing the event queue.
Because the blocking call does not return as it continues for infitity, events are queued up on the event queue as those are not processed.

I will look into fixing this ASAP.

from tank-royale.

flemming-n-larsen avatar flemming-n-larsen commented on May 18, 2024

Release 0.13.2 should finally fix this issue. I tested it thoroughly for bot the Java and .Net API. 🤞

from tank-royale.

beamer159 avatar beamer159 commented on May 18, 2024

Looks good, thanks

from tank-royale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.