Comments (7)
I worked around it by doing awful hacks.. In outgauge you have a test for packets that are larger than normal OG packets.. I'm subverting that check, and if it is longer.. emitting a event stating "unhandled".. then in my plugin I'm passing that data on to insim.
Worst methodology ever. It's gross and ugly but works... somehow :)
from xi4n.
12:19 <the_angry_angel> hmm 12:19 <the_angry_angel> architecturally xi4n cant cope with that atm, as you've spotted. 12:20 <the_angry_angel> i had completely forgotten that LFS would do that. 12:21 <the_angry_angel> i can think of a fix, and maintain plugin api compatbility 12:21 <the_angry_angel> sort of 12:21 <the_angry_angel> it would make multi-protocol plugins easier too 12:21 <the_angry_angel> but clientmanager, and client would need be to completely ripped apart
Unsure when I'll be able to do this.
from xi4n.
I also noticed LFS behaves weird with MCI packets. Locally and as server, you're allowed to have all MCI packets...
However, when you join an online game.. If only you are on track, you get the stream of MCI packets.. However the instant someone else joins.. No more MCI until you're the only person on track again.
Was a big bummer to find that out. It means I'm relegated to having useless yellow flag detection. :(
from xi4n.
Just commited d0f7fb4. It's completely 100% untested (I was offline and on a laptop without LFS), so I'm expecting typos and other broken stuff. Will test over the forthcoming week. Be warned this also breaks the plugin API a little. However if you have any ideas Dustin, nows the time ;)
from xi4n.
Hi Karl: I'm gonna take a look at it later tonight. I haven't played with Node in the last while (All my free-time programming has been work programming.. yay :) ).
That also means I'll haffto compile node v0.10 too. C'est la vie! :)
from xi4n.
It's probably very broken, as I say it's 100% untested still, but I'm hoping to get some time to test it later this evening :)
Might be worth hanging on for whatever comes after 0.10. I suspect there will be another release soon.
from xi4n.
Verified as resolved in d1c25c9.
from xi4n.
Related Issues (20)
- xi4n specific data in plugin packages.json HOT 1
- livemap is not cleared correctly between 2 races HOT 3
- outgauge packets? HOT 7
- Some InSim ISI packet elements not set-able from config HOT 1
- LFSW Relay Support HOT 3
- livemap2.js Y coordinate needs to be flipped HOT 1
- livemap2.js - DNF's, IS_RES, etc. support
- livemap2.js embed-ability
- YAML for configuration files? HOT 4
- Evaluating arraybuffers (Was: Switch to jspack-arraybuffer) HOT 4
- Scaffolding/Generators HOT 1
- Config building webapp HOT 4
- Plugin architecture broken HOT 1
- livemap2 express@3 HOT 2
- xi4n — when installed globally — is unable to init stuff HOT 2
- Lack of braces HOT 2
- Outdated version on NPM HOT 8
- InSim prefix permits overlength
- Packet decoding failure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xi4n.