DeviceLink on-line 2.1 (updated 11/29/2009)
#31

Hello Burns,

Quote:DeviceLink works with 1.2 under Vista64....Just got it working.
Off-line (or online when you are the Host), right? Or did you manage to connect to an online server and make it work?

Quote:If I wanted to write my own app (...)can anyone point me to a site(...)
IIRC, wwSensei wrote a wrapper class for DeviceLink some time ago.

I'm very interested in a SimPit (probably first one will be motionless) and the only reason I didn't start moving furniture, hammering and soldering is that DeviceLink didn't work online, so far... That's why I'm looking so interested in Fireball's Mod.

A good discussion has developed here:
http://forums.ubi.com/eve/forums/a/tpc/ ... 027043/p/1

Let's keep info flowing...
t
Reply
#32

Well, I started a server in dogfight mode. No one joined in, I was only testing.
But it did work.

My neighbor borrowed my spare monitor so I can't get a second computer running at the moment.
I had to run UDPSpeed on the same system with IL2 in windowed mode.

Next step was to try two computers. Got that working though the rate of climb gauge, altimeter, and other frequently moving gauges
don't always match the virtual cockpit. They seem to be more sensitive and not as fluid. Wonder if there's anything that can be done about that?

I already have a simple simpit where I use switches and touchbuddy, but I want something more scale...and if possible, articulated. :-)
Reply
#33

Tityus, if you have got DeviceLink Online mod installed over 1.2, you can read all data via that interface. I have checked it. No need to set on the server side. On the other hand if you want to enter the server with CRT=2 check enabled, you will not be able to, as the current DeviceLink Online mod changes some files which are verified. I passed some hash files from DL mod and they do not do a harm, so you can enter but still you have no online reading. But when you copy more files or e.g. that longer one Smile you will not pass CRT=2. C'est la vie. You have to ask server provider to add DL files...
Reply
#34

Hi appisia,

Quote:Tityus, if you have got DeviceLink Online mod (...) you can read all data via that interface. I have checked it.

I understand the purpose of DeviceLink Online (very interested in it) and also how CRT=2 works. However didn't succeed in all situations. Did you have the chance to read my post - 4th before yours (the one with colors)?

Also, please share how you've "checked" the DeviceLink Online Mod?

Since we know that CRT2 won't let one connect if failed in the check, the propositions bellow assume a non CRT2 server, that you've read my previous post where I posted my conf.ini keys and that you have a different computer (ip) querying DeviceLink.

Could you in your tests:

a - Host a MP game and have DeviceLink export values to a different ip (this is the only MP option that works for me.);

b - Connect to a remote server internet (LAN does not count), direct ip:port and have DeviceLink export values to a different ip;

c - Connect to a remote server (LAN does not count), via HL, and have DeviceLink export values to a different ip;


The problem I have is, if DeviceLink is active (values at the proper key at conf.ini) I'm not able to connect to another server. However, the mod is working because, even when I'm not able to connect, it will export the values when I play a .trk.

appisia, did you succeed at ALL three situations above (a-b-c) ?


Quote:(...) two computers. Got that working though the rate of climb gauge, altimeter, and other frequently moving gauges don't always match the virtual cockpit. They seem to be more sensitive and not as fluid. Wonder if there's anything that can be done about that?


@Burns - UDPSpeed has a variable TimerMS=xx, at [main], in its UDPSpeed.ini file where you should set the desired querying interval.

t
Reply
#35

[quote]
@Burns - UDPSpeed has a variable TimerMS=xx, at [main], in its UDPSpeed.ini file where you should set the desired querying interval.

t
Reply
#36

@Burns, I've got mine UDPSpeed running on a separate machine and interval set at 50ms and performance is ok.

t
Reply
#37

Works like a charme, many THX !!

Horridooooo!!
Reply
#38

Quote:Works like a charme, many THX !!
renmik,
What works like a charm, your UDPSpeed refresh interval on a separate machine or DeviceLink Online covering the, so far, problematic cases cited above?
Reply
#39

tityus - I will check home the configuration. Then I will post here what I have got.

First of all - is your configuration working WITHOUT DL online mod? I mean offline? All ports, IPs set correctly etc? If so then install DLmod and try again offline. Works? Then go to server without CRT2 like WC. Is working online also? (Will not work in WOP servers and others with CRT2)

PS :Currently I have 2 Linux-based computers connected to DL via its interface + FOV Changer. FOV has set the same port as DL in conf.ini. Linux computers have got their own "udpspeed" variation running and reading data.\

PS: I can see in your older post that localPort=21000 and remotePort=21000 are the same as [DeviceLink] port=21000 . They should not! DL port should be different! E.g. 12345 or 20020 (I guess I have this one, but I will check). Port for game server-client exchange must be different than port for DL communication

PS: Oh well - check also your firewall if you do not block port for DL and port for remote server!
Reply
#40

pipis,

Just to answer everything before reporting the problem solved...

is your configuration working WITHOUT DL online mod? It was working offline as reported in previous post, it worked when playing .trks and also when hosting online games.

(...) go to server without CRT2 like WC. Is working online also? That was the problem, it wouldn't connect to other servers.

...but pipis, you pointed me in the right way and now the problem is solved.

Although I typed those ip/ports as an example, using the default values, you have pointed me an obvious thing I overlooked: the conflict in the ports. I had a "residual" local port that had the same value I now use for DeviceLink. When configuring my rig, I had altered those .ini by hand, using copy and paste to seed, and then just altering the ports as I needed. I failed to change the localPort variable and it clashed with the one I chose for DeviceLink. I've Read that a multitude of times and never noticed I had left the localPort untouched. Always looking for something more complicated. Well, when I wrote the post asking, I did the same thing... wrote once the default address, copied and pasted the ports and renamed the variables. When you pointed that the ports where all equal, the "oh-oh" flag went up in my head... Went back to my .ini and, exactly the same, I hadn't change one variable... the localPort.

Doh!

Thanks for shedding the light I needed and to everyone else that participated. I'll edit my previous post so it reflects the correction.

t
Reply
#41

Great Tityus to know that everything is just fine...

From my point of view I would love to see some parts of DeviceLink Online Mod to be incorporated into the UI pack. I can understand that some data might be treated by some as a kind of "cheat" sometimes, e.g. speed and altitude (that ones from HUD), but e.g. RPM-s for engines, number of engines, heading, HOTAS (joystick) readings (why not) and e.g. engine stuff like temperature or so... why not? It is a pity that you cannot create the pit with at least engines gages for online playing pleasure Sad PITY !
Reply
#42

Quote:(...)I would love to see some parts of DeviceLink Online Mod to be incorporated into the UI pack.
So would I. It really enhances the experience for those that fly full switch online.

Quote:(...)some data might be treated by some as a kind of "cheat" sometimes, e.g. speed and altitude (...), It is a pity that you cannot create the pit with at least engines gages for online playing pleasure Sad PITY !
I agree with you, but I'd extend a little further. I think DeviceLink should export and accept queues for all info available.

Officially, there has never been a DeviceLink for online game and cheaters have cheated. With or without DeviceLink, cheaters will cheat. Compared to what they've been doing, having altitude and speed doesn't give one that big of an edge. In my opinion, with a limited DeviceLink, we do more harm to those trying to enhance the immersion, those that value the "simulation" side of the "game", than we keep cheaters from having an unfair advantage.

I do, however, understand the goal behind limiting DeviceLink. I just feel that there is more loss than gain with said limitations.

Let's hope it make to the next UI. After all, it doesn't burden the system, it doesn't do anything for those that don't activate it in the conf.ini and it will be very beneficial to those flying online full switch.

I'm happy DeviceLink is getting some movement again.

t
Reply
#43

Fireball (or admins),

Since the MOD devicelink online exports data only if client has values in its conf.ini keys, to have it included in a UI wouldn't burden the machine and would highly help those flying in CRT2 servers adopting UI1.2.5 by giving them the ability to drive their wannabe simpits.

Do you think the MOD is mature enough to be included in UI1.2.5?

thanks
tityus
Reply
#44

bump.

Just in case msg did not get an answer because it was buried.
Reply
#45

Loaded 4.08 + 4.09m + HSFX4.0. Now devicelink isn't working.

Confirmed all entries are in the conf.ini file.

Any ideas?

UPDATE: San's FOVChanger is working, but UDPSpeed isn't.
Reply


Forum Jump:


Users browsing this thread: 12 Guest(s)