Jump to content

Recommended Posts

Posted

I tried yesterday your tool for training purposes but it does not work.

 

What I did:

- installed your export.lua & config.lua

- started TCP_Bot

- started LockOn

- started Network server with your example mission

- choosed Plane no. 6

 

result: the plane flies straight ahead and looses altitude and crashes into ground...

 

there are no messages in the command window of the TCP_Bot - is that correct?

 

Any suggestion what goes wrong? Tried on 2 different systems: same result.

Hmmmm.

Any newer version available?

 

Thanks and greets

Hedge

[sIGPIC][/sIGPIC]

Thrustmaster HOTAS Warthog :: Saitek Rudder :: Track IR5 ::

EVGA 3 GB GTX580 :: AMD FX-8120 :: SSD 240 GB :: Win7 Ultimate 64

Posted

Make sure that EnableExportScript = true in "Lock On\Config\export\config.lua". Also, you will probaply need to change a line in "Lock On\Config\network\config.lua", it's either

[10] = "./Config/Export/Config.lua";

or

[10] = "./Config/Export/Export.lua";

in "ServerFiles" table, in either case the line should be

[10] = "";

 

Check your firewall settings (TCP Bot uses a TCP connection).

Posted

Same behaviour: does not work. Again the question: should I see anything in the TCP_Bot window?

 

Make sure that EnableExportScript = true in "Lock On\Config\export\config.lua".

Yes: I replaced the file with that of your 'distribution'.

 

Also, you will probaply need to change a line in "Lock On\Config\network\config.lua", it's either

[10] = "./Config/Export/Config.lua";

or

[10] = "./Config/Export/Export.lua";

in "ServerFiles" table, in either case the line should be

[10] = "";

Ok. I set that value to empty quotes.

 

Check your firewall settings (TCP Bot uses a TCP connection).

Why?

When I'm sitting in front of my server (no client connected), I see the cockpit of plane no 6 (in your example mission). That plane should follow the flight plan? Here I do not have to consider any firewall stuff.

 

Or did I misunderstood anything totally?

 

btw. thank you very much for your immediately response!

[sIGPIC][/sIGPIC]

Thrustmaster HOTAS Warthog :: Saitek Rudder :: Track IR5 ::

EVGA 3 GB GTX580 :: AMD FX-8120 :: SSD 240 GB :: Win7 Ultimate 64

Posted
Same behaviour: does not work. Again the question: should I see anything in the TCP_Bot window?

 

No, there is no output there. I made the console application rather than window to reduce the size of the executable.

 

Why?

When I'm sitting in front of my server (no client connected), I see the cockpit of plane no 6 (in your example mission). That plane should follow the flight plan? Here I do not have to consider any firewall stuff.

 

Or did I misunderstood anything totally?

 

The TCP Bot is basically a TCP server listening to port 8080, it gets current instrument readings as a request and answers with control inputs (after some calculations). So in a nutshell, it's a kind of auto-pilot :) The export.lua acts as a client communicating with that server, and executing received control inputs every 0.1 s.

 

I can't identify what's the problem in your case yet. Do you have an ICQ#?

Posted
Another idea. Try changing the decimal symbol to "." (period) in Control Panel > Regional and Language Options > Customize.

 

THAT'S IT!!!

Good suggestion, thank you!

 

So: what does your program do? I have a mission with 15 waypoints, but the plane only circles around WP 2.

Don't you follow the whole flight plan?

Is that correct?

 

Anyway, thanks again for your assistance.

 

Hedge

[sIGPIC][/sIGPIC]

Thrustmaster HOTAS Warthog :: Saitek Rudder :: Track IR5 ::

EVGA 3 GB GTX580 :: AMD FX-8120 :: SSD 240 GB :: Win7 Ultimate 64

Posted
So: what does your program do? I have a mission with 15 waypoints, but the plane only circles around WP 2.

 

That's what it does - left turn (bank1), right turn (bank1), left turn (bank2), right turn (bank2), and so on, indefinitely (e.g. Su-27 lasts about 4 hours on 100% fuel). The banks are indicated in the ini-file. The main purpose of the utility was to provide the lead aircraft for basic training, i.e. straight and level, and level turns.

Posted

Ok. I should have used your mission to see what it does! (I wondered about missing waypoints....)

 

Thanks anyway. This is a very good tool for that kind of training, which I definitely need at the moment at most (for aerobatics) ... and without much time for creating missions for PhantomControl...

 

(and now you have some more stuff to write into your install notes... ;-)

[sIGPIC][/sIGPIC]

Thrustmaster HOTAS Warthog :: Saitek Rudder :: Track IR5 ::

EVGA 3 GB GTX580 :: AMD FX-8120 :: SSD 240 GB :: Win7 Ultimate 64

  • Recently Browsing   0 members

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