PDA

View Full Version : Need clarification on DeviceLink



BaldieJr
05-19-2004, 02:04 PM
Do controls work in multiplayer?
I'm also curious: why the multiplayer limitations? I can't see any way to get an advantage over other players.

Thanks for adding this to AEP.

<pre class="ip-ubbcode-code-pre">
My Specs (read 'em and weep):
* Automatically grinds whole beans before brewing
* Fully programmable 24 hours in advance
* Brew Pause feature lets you enjoy a cup before brewing has finished
* Automatically shuts off when brewing is complete
* Grind-off feature for brewing ground coffee
* 1-4 cup feature to accommodate coffee for one
* 10-cup double-wall insulated thermal carafe to keep your coffee hot long after brewing
* Gold tone commercial-style permanent filter eliminates the need to buy coffee filters
* Charcoal water filter removes impurities from the water
* Separate grinder chamber and filter area allow for easy cleanup
* Limited 3-year warranty
</pre>

BaldieJr
05-19-2004, 02:04 PM
Do controls work in multiplayer?
I'm also curious: why the multiplayer limitations? I can't see any way to get an advantage over other players.

Thanks for adding this to AEP.

<pre class="ip-ubbcode-code-pre">
My Specs (read 'em and weep):
* Automatically grinds whole beans before brewing
* Fully programmable 24 hours in advance
* Brew Pause feature lets you enjoy a cup before brewing has finished
* Automatically shuts off when brewing is complete
* Grind-off feature for brewing ground coffee
* 1-4 cup feature to accommodate coffee for one
* 10-cup double-wall insulated thermal carafe to keep your coffee hot long after brewing
* Gold tone commercial-style permanent filter eliminates the need to buy coffee filters
* Charcoal water filter removes impurities from the water
* Separate grinder chamber and filter area allow for easy cleanup
* Limited 3-year warranty
</pre>

CPS_Shadow
05-20-2004, 01:40 AM
What multiplayer limitations? I didn't see any listed, did I miss them? While I'm at it anyone know a good site on programing a UDP port interface? I can think of some real cool apps you could write for this.

lindyman
05-20-2004, 03:52 AM
Likewise, Shadow. I'm not well at home with the connectionless oriented nature of UDP. I'll get something running, though. Stubborn as I am. I'll post something when I get there (it will be extremely rudimentary, like being able to manually enter a message, have it sent, and a response (if any) shown.
_
/Bjorn.

BaldieJr
05-20-2004, 07:20 AM
From the text file:

<pre class="ip-ubbcode-code-pre">
2. Parameters - instruments readings.



In current version, this section is disabled while playing the game over the
net.</pre>

I'm assuming this only covers instrument readings, but I would rather get confirmation of this.

I'm going to mock up some connection code in php today and test it tonight when I get home. I've done this stuff before (long time ago) and its fairly easy to do. Send a packet, get a packet http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif

<pre class="ip-ubbcode-code-pre">
My Specs (read 'em and weep):
* Automatically grinds whole beans before brewing
* Fully programmable 24 hours in advance
* Brew Pause feature lets you enjoy a cup before brewing has finished
* Automatically shuts off when brewing is complete
* Grind-off feature for brewing ground coffee
* 1-4 cup feature to accommodate coffee for one
* 10-cup double-wall insulated thermal carafe to keep your coffee hot long after brewing
* Gold tone commercial-style permanent filter eliminates the need to buy coffee filters
* Charcoal water filter removes impurities from the water
* Separate grinder chamber and filter area allow for easy cleanup
* Limited 3-year warranty
</pre>

BaldieJr
05-20-2004, 08:19 AM
Correction: I'm going to mock this up in lua. I just feel like learning something new http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif

<pre class="ip-ubbcode-code-pre">
My Specs (read 'em and weep):
* Automatically grinds whole beans before brewing
* Fully programmable 24 hours in advance
* Brew Pause feature lets you enjoy a cup before brewing has finished
* Automatically shuts off when brewing is complete
* Grind-off feature for brewing ground coffee
* 1-4 cup feature to accommodate coffee for one
* 10-cup double-wall insulated thermal carafe to keep your coffee hot long after brewing
* Gold tone commercial-style permanent filter eliminates the need to buy coffee filters
* Charcoal water filter removes impurities from the water
* Separate grinder chamber and filter area allow for easy cleanup
* Limited 3-year warranty
</pre>

BaldieJr
05-20-2004, 01:15 PM
If you are brave and feel like learning, try this
http://www.tecgraf.puc-rio.br/~diego/luasocket/new/luasocket-2.0-alpha.exe

Create some_name.lua and put this in it.

<pre class="ip-ubbcode-code-pre">
ip = "127.0.0.1" -- change this to whatever you have set in conf.ini if local, or ip of remote
port = port or 10000

-- create a new UDP object
udp = socket.udp()

-- contact FB host and make a querry
nsent, err = udp:sendto("R/20/22/30", ip, port)
assert(not err, err)

-- retrieve the answer
dgram, err = udp:receive()
assert(dgram, err)

-- display to user
print(dgram)

</pre>

EDIT: Changed code. No need to do hostname lookups. Getting results:

C:\Project&gt;test.lua
A/20\10.525278/22\I-153M62/30\226.31

Yeah, so um, you need the lua interpreter listed above and if you don't know what that means just ignore this stuff.

Need to try setting a value now.

Code heavily borrowed from docs:
http://www.tecgraf.puc-rio.br/~diego/luasocket/new/home.html
http://ubbxforums.ubi.com/images/smiley/16x16_smiley-happy.gif

<pre class="ip-ubbcode-code-pre">
My Specs (read 'em and weep):
* Automatically grinds whole beans before brewing
* Fully programmable 24 hours in advance
* Brew Pause feature lets you enjoy a cup before brewing has finished
* Automatically shuts off when brewing is complete
* Grind-off feature for brewing ground coffee
* 1-4 cup feature to accommodate coffee for one
* 10-cup double-wall insulated thermal carafe to keep your coffee hot long after brewing
* Gold tone commercial-style permanent filter eliminates the need to buy coffee filters
* Charcoal water filter removes impurities from the water
* Separate grinder chamber and filter area allow for easy cleanup
* Limited 3-year warranty
</pre>

[This message was edited by BaldieJr on Thu May 20 2004 at 06:20 PM.]

BM357_Hawki
05-21-2004, 02:58 PM
It has just come to my attention that the team has added an interface to our game. Oh boy time to clean up the unused garage for a working cockpit!!!! Thank you for listening.

I have just downloaded the patch and would like to know if a SDK (Software Developent Kit) has been released or is in the planning stage.
My C++ programming is rusty, but can we use VB6 or VB.net to access the interface?

How is the interface programmed? Is it just grapping the flight information from the data sockets?

Can you read and write to memory locations within the game?

I know I have to read the information but I'm behind the times, are there any websites with additional information on the programming interface ?


Thanks BM357_Hawki

BaldieJr
05-21-2004, 09:51 PM
THe only information available is in the text file in your FB folder.

Data is available via a udp port. See the other thread concerning this to obtain more details.

<pre class="ip-ubbcode-code-pre">
My Specs (read 'em and weep):
* Automatically grinds whole beans before brewing
* Fully programmable 24 hours in advance
* Brew Pause feature lets you enjoy a cup before brewing has finished
* Automatically shuts off when brewing is complete
* Grind-off feature for brewing ground coffee
* 1-4 cup feature to accommodate coffee for one
* 10-cup double-wall insulated thermal carafe to keep your coffee hot long after brewing
* Gold tone commercial-style permanent filter eliminates the need to buy coffee filters
* Charcoal water filter removes impurities from the water
* Separate grinder chamber and filter area allow for easy cleanup
* Limited 3-year warranty
</pre>

GCMC_Soron
05-22-2004, 01:00 PM
Hawki

This is the link to the other post
Simple DeviceLink autopilot (http://forums.ubi.com/eve/forums?a=tpc&s=400102&f=63110913&m=217109224)
You will see the C code from Baldie, and a simple VB source code.

BaldieJr
05-22-2004, 07:40 PM
Correction: the C in that post is the fine work of lindyman.

I'm more of an interpreted language guy and less of a compiled language guy http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif

<pre class="ip-ubbcode-code-pre">
My Specs (read 'em and weep):
* Automatically grinds whole beans before brewing
* Fully programmable 24 hours in advance
* Brew Pause feature lets you enjoy a cup before brewing has finished
* Automatically shuts off when brewing is complete
* Grind-off feature for brewing ground coffee
* 1-4 cup feature to accommodate coffee for one
* 10-cup double-wall insulated thermal carafe to keep your coffee hot long after brewing
* Gold tone commercial-style permanent filter eliminates the need to buy coffee filters
* Charcoal water filter removes impurities from the water
* Separate grinder chamber and filter area allow for easy cleanup
* Limited 3-year warranty
</pre>