GithubHelp home page GithubHelp logo

Comments (4)

Klumze avatar Klumze commented on June 27, 2024

I've realized that 1.3.0 has some missing code versus the 1.3.1 version in the writeLong method, however 1.3.1's OutputStream.writeLong() method is causing str.indexOf('-') to fail in the Long 4.0.0 library. I believe there is something wrong with the method itself but I'm investigating further.

from open-dis-javascript.

Klumze avatar Klumze commented on June 27, 2024

As a work around for the time being I went to the path_to_server/node_modules/open-dis/src/TransmitterPdu.js and I commented out the reference for writeLong that was only used for the Frequency and re-ran the prepublish script. This is not the best workaround as it means you will always get the default Frequency which is set to 0 but allows things to continue working for the time being. If I can find the exact cause for the WriteLong function causing issues I'll be sure to update this.

from open-dis-javascript.

leif81 avatar leif81 commented on June 27, 2024

@Klumze Was this the one that had something to do with a typo related to "EntityId" vs "EntityID"?

from open-dis-javascript.

Klumze avatar Klumze commented on June 27, 2024

@leif81 Hey, no this one I'm now realizing is actually me just being an idiot and providing an int to a method that expects a string. I thought in my head that Frequency would be a numeric value but it does not appear to be so haha. I'm closing this one now and I can open a new issue for the .min.js issue and the "EntityID" vs "EntityId".

from open-dis-javascript.

Related Issues (15)

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.