Jump to content

Recommended Posts

  • Replies 784
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Someone has to create 3D or 2D graphics for it, then it would work fine.

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted
Leavu is open source, so even if you downloaded a version without datalink they could

just go in and change one parameter and bling it works again. Also the server cannot control

it because the datalink has really nothing to do with lockon.

 

Once Leavu gets "my information" from lockon, then the nothing goes through lockon anymore.

It is like LOVP or touch buddy, you could limit the amount of information available to be exported

from lockon, but datalink doesnt require anything more than LEAVU does in general.

 

Yoda nice work. Can you answer a yes or no to my question please. Can Leavu's datalink be controlled server side?. Thanks.

[sIGPIC][/sIGPIC]

Posted (edited)
Yoda nice work. Can you answer a yes or no to my question please. Can Leavu's datalink be controlled server side?. Thanks.

 

No, the datalink server is actually just a general server,

It could probably be used as a dedicated game server, or a chat server.

 

Leavu itself isnt really bound to lockon either.

It can be used with lockon since I wrote a data export script using Lockon's

data export functionality, as described here by ED : http://lockon.co.uk/index.php?lang=en&end_pos=567&scr=default

Future purpose is to let them run with any sim, so I can

create a cockpit working for multiple games.

 

As a beta tester, Leavu has proven extremely useful for me in helping

finding bugs in not just the lua export parts of the game, but also

features of the game itself.

Edited by =RvE=Yoda

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted (edited)

Thanks for the answer Yoda, last time we chatted I was led to believe Leavu's datalink could be controlled server side!. So what happens to the squads who pay for hosting and DONT want players utilising Leavu's datalink on their servers?.

Edited by Vault

[sIGPIC][/sIGPIC]

Posted (edited)
Thanks for the answer Yoda, last time we chatted I was led to beleive Leavu could be controlled server side!. So what happens to the squads who pay for hosting and DONT want players utilising Leavu's datalink on their servers?.

 

Maybe buy them a cake?

 

Game integrity checks can be performed by the server on clients

in the DCS engine, by checking the contents of files. You can add the export scripts

to make sure it doesnt actually export any data at all.

 

This can be troublesome when some servers use different mods.

For this purpose I previously suggested it may be useful to develop a server browser

tool that automatically sets up your game to match the requirements of each server.

 

You were led to believe what and where and when? I have never said anything else

about Leavu than what it is. I have not lied to you or anyone else about it.

 

One has to wonder what the public response would be if I went and implemented a

two seater mod for leavu that let user #2 control user #1's plane.

Edited by =RvE=Yoda

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted

Yeah Yoda, you could buy them a cake and make them eat it. :D

 

Seriously though, even if you disabled Lua export could you still share your contacts over Leavu's datalink?.

[sIGPIC][/sIGPIC]

Posted
Yeah Yoda, you could buy them a cake and make them eat it. :D

 

Seriously though, even if you disabled Lua export could you still share your contacts over Leavu's datalink?.

 

You cannot disable the lua export script, only make sure each player has the same export script.

The standard export script doesn't actually export any data (at all, it only shows how to do it),

so there would be no data to be shared.

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted

Yoda thanks for clearing that up as long as people are able to control Leavu's datalink it's all cool. Your coding skills are awesome, keep up the good work and best of luck mate.

[sIGPIC][/sIGPIC]

Posted

This is looking great yoda!

 

Quick question. If I wanted to use this, I would naturally have to get another screen. Unfortunately, both of my video card DVI slots are taken (I have 2 22" monitors. One on my desk, one in my pit). Is it possible to put LEAVU on a small, say 7" usb touchscreen? (is there such a thing?) The picture in your sig hints it might be a yes.

 

Thanks

 

Aero

DCS Wishlist: 1) FIX THE DAMN RIVERS!!! 2) Spherical or cylindrical panorama view projection. 3) Enhanced input options (action upon button release, etc). 4) Aircraft flight parameter dump upon exit (stick posn, attitude, rates, accel, control volume, control-surface positions, SAS bias, etc). 5) ADS-33 maneuver courses as static objects. 6) Exposed API or exports of trim position and stick force for custom controllers. 7) Select auto multiple audio devices

Posted

yes it should work with a display that support the USB port by not using DVI/VGA plugs.

 

I.E. Samsung UM70, or Lilliput U70. U wouldnt need a touchscreen if you want a MFD cougar, I think it will fit neatly on your homemade F/A 18 Cockpit.

 

Just my humble opinion :)

Maximus, The only real Maximus in DCS World. :music_whistling:

 

I am not associated to viper 33 | Maximus. he is the imposter.

Posted

As long as it is detected as a normal "monitor" and you can drag windows to it, you can use it.

You may want to disable the Leavu2 button-frame though, and just control it with keyboard

commands.

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted (edited)

you guys are lucky to play..

 

i wish i could mess around with lockon 2.0..

 

i have two 7" LCDs just doing NOTHING!

 

im tempted to mess around with Falcon 4.0 Allied Force just to work with these LCD's on a client PC...

 

looking good guys!

 

Yoda, sorry i been out of the loop.

 

im getting back in to the sim, im actually looking to build some aircraft rudder pedals.. (would like to get the simped 16's, but at 400$, dont know....)

 

by the way Yoda, i hope your Leavu2 still will function on a client PC reading data off the LOCKON 2.0 PC...

my 7" LCDs are VGA, and i am trying to keep my FULLSCREEN MODE "potential LOCKON 2.0" running on 2 1080p monitors @ 1920x2160, and not have to play in WINDOWED mode due to the 7" LCDs breaking the resolution size in multimonitor...

so I rather run the Leavu2 application on a client machine...

Edited by hannibal

find me on steam! username: Hannibal_A101A

http://steamcommunity.com/profiles/76561197969447179

Posted
you guys are lucky to play..

 

i wish i could mess around with lockon 2.0..

 

i have two 7" LCDs just doing NOTHING!

 

im tempted to mess around with Falcon 4.0 Allied Force just to work with these LCD's on a client PC...

 

looking good guys!

 

Yoda, sorry i been out of the loop.

 

im getting back in to the sim, im actually looking to build some aircraft rudder pedals.. (would like to get the simped 16's, but at 400$, dont know....)

 

by the way Yoda, i hope your Leavu2 still will function on a client PC reading data off the LOCKON 2.0 PC...

my 7" LCDs are VGA, and i am trying to keep my FULLSCREEN MODE "potential LOCKON 2.0" running on 2 monitors @ 1920x2160, and not have to play in WINDOWED mode due to the 7" LCDs breaking the resolution size...

so I rather run the Leavu2 application on a client machine...

 

In fact i have 3 clients connecting to the same game machine here, at the same time ;).

All running 30-50 fps data input/framerate. This can also be increased or set to the same

as teh actual game framerate if you want to.

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted
cant wait for LOCKON 2.0 to be release, so i can use your application...

 

so far, your screens functions and displays are centered on the F-15C right?

 

The current MFD was designed for the F-15 mostly yes, but Leavu2 itself could

be used by any AC if you create some 3D instruments.

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted

YODA!!!

 

a revelation has been made to me by our friend Mastiff of the 104th...

 

your LEAVU2 application works on LOCKON Flaming Cliffs 1.12b ????

 

i thought it only works with LOCKON 2.0..

 

if this is true.. im going to play, and then im going to ask, where do i download your application... to use on Flaming Cliffs 1.12b

find me on steam! username: Hannibal_A101A

http://steamcommunity.com/profiles/76561197969447179

Posted

to get it to work in 1.12, you need to write/fake an export script,

and it will have much less functionality even then since the 1.12 doesnt

have all the data exports used by leavu2

 

Maybe you can use it for navigation

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

  • 2 weeks later...
Posted (edited)
to get it to work in 1.12, you need to write/fake an export script,

and it will have much less functionality even then since the 1.12 doesnt

have all the data exports used by leavu2

 

Hi there!

I have one question related to exports script. How you force LockON to use your export script when you conect to some server? Because, I have make some export.lua script and I can read data with application written in VB.net, but it is only work in single player ... when I conect to any server, then it's don't work. How to 'fix' that? Or only way to do that is to put that export.lua script on server? How that works at all in Lockon...does download export.lua every time when I connect to some server? Wher is save that file?

 

Thank you for your answer in advance, regards ...

 

Goran.

[sIGPIC][/sIGPIC]

Edited by =CVFS=Goran_VU
Posted (edited)
Hi there!

I have one question related to exports script. How you force LockON to use your export script when you conect to some server? Because, I have make some export.lua script and I can read data with application written in VB.net, but it is only work in single player ... when I conect to any server, then it's don't work. How to 'fix' that? Or only way to do that is to put that export.lua script on server? How that works at all in Lockon...does download export.lua every time when I connect to some server? Wher is save that file?

 

Thank you for your answer in advance, regards ...

 

Goran.

[sIGPIC][/sIGPIC]

 

Could you show your lua code?

 

Some "Global" exports are disabled on some 1.12 servers,

while some servers disable all exports all together by enforcing

a blank export script (something that can be done in 1.12, but not FC2 for security reasons)

Edited by =RvE=Yoda

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted
Could you show your lua code?

 

Some "Global" exports are disabled on some 1.12 servers,

while some servers disable all exports all together by enforcing

a blank export script (something that can be done in 1.12, but not FC2 for security reasons)

 

Sorry for latte answer ... I was expecting e-mail when somebody write something, but I was forget to check it.

 

I'm using default export.lua script, but I was just clear note marks (--) before all commands related to socket. (fort start mission, end mission, end event every 1 sec.).

 

Yesterday I was on connected to RAF server (using HyperLoby ... or how it's called) and I have notes in errors file that script tells me that there is no some other .lua file. So, it's look that LockON download some script from server and try to use it. There is some file that I don't have localy on my PC. I was make that script (use same name) but I was put my script in that file and then was work fine. I will study little bit more on some other server to see is that missing file requested on all servers or every server has it's own scripts.

Posted (edited)

Unless your script calls "LoGetWorldObjects()" or "LoGetObjectById()" you must be connecting to servers that enforce a specific export.lua.

Edited by =RvE=Yoda

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted
Unless your script calls "LoGetWorldObjects()" or "LoGetObjectById()" you must be connecting to servers that enforce a specific export.lua.

 

This is my complite script:

 

function LuaExportStart()

dofile "lua.lua"

socket = require("socket")

host = host or "localhost"

port = port or 8080

c = socket.try(socket.connect(host, port)) -- connect to the listener socket

c:setoption("tcp-nodelay",true) -- set immediate transmission mode

socket.try(c:send(string.format("Hello\n")))

end

 

function LuaExportBeforeNextFrame()

end

 

function LuaExportAfterNextFrame()

end

 

function LuaExportStop()

socket.try(c:send("quit")) -- to close the listener socket

c:close()

local mp_log = io.open("./Temp/mp_log.txt", "r")

local output_filename = "./Temp/mp_log_" .. os.date("%Y-%m-%d_%H-%M-%S") ..".txt"

local output = io.open(output_filename, "w")

output:write(mp_log:read("*all"))

output:close()

mp_log:close()

end

 

function LuaExportActivityNextEvent(t)

local tNext = t

local o = LoGetWorldObjects()

for k,v in pairs(o) do

--socket.try(c:send(string.format("t = %.2f, ID = %d, name = %s, country = %s(%s), LatLongAlt = (%f, %f, %f), heading = %f\n", t, k, v.Name, v.Country, v.Coalition, v.LatLongAlt.x, v.LatLongAlt.Long, v.LatLongAlt.Alt, v.Heading)))

socket.try(c:send(string.format("t=%.2f; ID=%d; name=%s; country=%s; Lat=%f; Lon=%f; Alt=%f; Hed=%f \n", t, k, v.Name, v.Coalition, v.LatLongAlt.Lat, v.LatLongAlt.Long, v.LatLongAlt.Alt, v.Heading)))

end

tNext = tNext + 1.0

return tNext

end

 

dofile("./Config/Export/TacviewExportFlamingCliffs.lua")

 

So yes, I'm calling "LoGetWorldObjects()" ... so it's simes that is problem in that type of data. I didn't have any exact idea what I will do with export.lua, but when I was start to reading about it, I was thinking to make something like automatic air traffic control. I can get positions of all objects, see whitch is allias and witch is enemy ... then see who has and where some radar positions ... and then tell to all allias units where is someone (voice information, somethin like awcas, but it will not be in game, it will be separate application). Also, I have notes that I have many problems to know where am I, when server don't alow map view. So may next idea was to make some other application to tell me position from start point, or some other point.

 

In general ... I'd like to know how to get all asked information from every server where I'm playing, if I don't have access to control that Export.lua script on server.

Posted

I dont think all servers will allow you to get ATC views really.

Most of the time you are limited to exports on your own aircraft, if anything at all.

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...