RFE: Pipe nav data to a socket, rather than a file

Tips, tactics, and general discussion for Evochron Legacy.
TJJ
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 85
Joined: Wed Jan 25, 2012 12:35 pm

RFE: Pipe nav data to a socket, rather than a file

Post by TJJ »

Allow 3rd party apps to connect to a running instance of EM via a local socket, so that EM can stream the nav data directly to the client app.

It'd be much more efficient & flexible than communicating to 3rd party apps via the file system.
For instance; updates in the 3rd party app could be done at real-time rather than the current >1000ms.

There are two relatively easy workarounds I can think of, but neither of them are 'good'.
1) mount a ram disk, and have the savedata.txt written to it.
This would get around much of the gross inefficiency of writing to the file system, but synchronizing the polling at sub-second timings may become unreliable.
2) write a socket proxy that sits between EM & the EM server, intercepting the data sent to the server.
This would avoid the problems of polling, but it'd only work in MP, and would obviously be limited to the set of data sent between client & server.
Maarschalk
Captain
Captain
Posts: 7641
Joined: Wed Feb 25, 2009 12:24 am
Location: USA, Also check your six!

RFE: Pipe nav data to a socket, rather than a file

Post by Maarschalk »

This sound as an interesting Idea. I think there might be some security issues with cheats and exploits that players could use to gain an unfair advantage!...;):cool:
Arvoch Alliance Stat:


Evochron Legends Stats:


Evochron Mercenary Stats:


Darkness is the absence of Light as Evil is the absence of Good
TJJ
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 85
Joined: Wed Jan 25, 2012 12:35 pm

RFE: Pipe nav data to a socket, rather than a file

Post by TJJ »

From post: 129938, Topic: tid=8882, author=Maarschalk wrote:This sound as an interesting Idea. I think there might be some security issues with cheats and exploits that players could use to gain an unfair advantage!...;):cool:
You seem somewhat preoccupied with the possibility of cheating! :P

The player profiles are stored locally, as is the universe map data, and I doubt very much that the MP server does any validation on what it receives from the client.
Suffice to say the game is already wide open for all manner of cheating.

However as this isn't a competitive game, cheating is IHMO entirely irrelevant - they'd just be cheating themselves out of gameplay.

:edit:

Having said that, there is still an aspect of security worth worrying about - server stability.
It can be quite disruptive & annoying when client side server crash exploits are discovered. Hopefully EM's community doesn't yet contain any such technically competent trolls with malicious intent.

[Edited on 2-10-2012 by TJJ]
User avatar
Marvin
Global Moderator
Global Moderator
Posts: 14373
Joined: Wed Mar 04, 2009 5:47 am
Location: Fallon-Reno

RFE: Pipe nav data to a socket, rather than a file

Post by Marvin »

We had one about a year ago (maybe longer). He left.
Maarschalk
Captain
Captain
Posts: 7641
Joined: Wed Feb 25, 2009 12:24 am
Location: USA, Also check your six!

RFE: Pipe nav data to a socket, rather than a file

Post by Maarschalk »

From post: 129958, Topic: tid=8882, author=TJJ wrote:
From post: 129938, Topic: tid=8882, author=Maarschalk wrote:This sound as an interesting Idea. I think there might be some security issues with cheats and exploits that players could use to gain an unfair advantage!...;):cool:
You seem somewhat preoccupied with the possibility of cheating! :P

The player profiles are stored locally, as is the universe map data, and I doubt very much that the MP server does any validation on what it receives from the client.
Suffice to say the game is already wide open for all manner of cheating.

However as this isn't a competitive game, cheating is IHMO entirely irrelevant - they'd just be cheating themselves out of gameplay.

:edit:

Having said that, there is still an aspect of security worth worrying about - server stability.
It can be quite disruptive & annoying when client side server crash exploits are discovered. Hopefully EM's community doesn't yet contain any such technically competent trolls with malicious intent.

[Edited on 2-10-2012 by TJJ]
Trolls with malicious intent are severely persecuted in this Universe!.....
Arvoch Alliance Stat:


Evochron Legends Stats:


Evochron Mercenary Stats:


Darkness is the absence of Light as Evil is the absence of Good