-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues calling DISPduToBuffer on TransmitterPDU #5
Comments
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 |
As a work around for the time being I went to the |
@Klumze Was this the one that had something to do with a typo related to "EntityId" vs "EntityID"? |
@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". |
I cloned a copy of the example server to see if I could get something going for some kind of test server that could sit in a network running a SIM that uses Open DIS protocol and create report based on incoming PDU's and evaluating the responses and such. I ended up grabbing this repo as it is a great starting point. However when I went to call
utils.DISPduToBuffer
on my newly created TransmitterPDU object, it called the OutputStream.writeLong for some reason which states that Javascript can't handle 64 bit integers natively even though the way I'm setting my variables in the entityId object for my TransmitterPDU is the same as the example EntityStatePDU that was already included. I tried updating the open-dis-javascript to the latest release (1.3.1, was 1.3.0) however now I'm getting some other issues and I'm thinking of just going back to try and resolve this one as it may be simpler.Here is my source code (more or less identical to the available example):
If there is any additional info I can provide to help move things along let me know and I'd be glad to provide the necessary info ASAP.
The text was updated successfully, but these errors were encountered: