Search found 22 matches

by wirthlin
Sat Dec 03, 2022 3:05 am
Forum: Tech Support
Topic: [FIXED][1297.1] Tool_Range throws an error when one of the points is at Null Island (0 lat, 0 lon)
Replies: 2
Views: 230

Re: [1297.1] Tool_Range throws an error when one of the points is at Null Island (0 lat, 0 lon)

michaelm75au wrote: Fri Dec 02, 2022 9:53 am Fixed for next build
Thank you very much Michael! You guys are all amazing.

Ralph
by wirthlin
Fri Dec 02, 2022 12:56 am
Forum: Tech Support
Topic: [FIXED][1297.1] Tool_Range throws an error when one of the points is at Null Island (0 lat, 0 lon)
Replies: 2
Views: 230

[FIXED][1297.1] Tool_Range throws an error when one of the points is at Null Island (0 lat, 0 lon)

Tool_Range throws the error "Tool_Range 0 : ,No points have been set" when one or both of the points is at 0 degrees latitude and 0 degrees longitude. Tool_Bearing works fine. Below is some sample LUA code that demonstrates the problem. A workaround is to use some non-zero latitude or longitude ...
by wirthlin
Wed Oct 19, 2022 5:24 pm
Forum: Tech Support
Topic: [RESOLVED][1276.1] Launcher appears to slow down Internet bandwidth
Replies: 7
Views: 660

Re: [1276.1] Launcher appears to slow down Internet bandwidth


I've checked that and in my case I cannot reproduce using same Google Speed Test.

You could basically go into Task Manager -> Performance -> ethernet/Wifi and double-check, then there's Resource Monitor at the bottom -> Network and provide at least screenshot of Launcher taking bandwidth ...
by wirthlin
Sun Oct 02, 2022 3:20 am
Forum: Command: Modern Operations series
Topic: The Modelling of Combat/Mission Control
Replies: 5
Views: 967

Re: The Modelling of Combat/Mission Control






Hi wirthlin. Thanks for the tips. Actually, I am currently using MATLAB Simulink to model such a system that could be used on some MRLS or TBMS. The current step I am working on is to build a state machine modelling the interrelation between sequential behaviors of the operators and the ...
by wirthlin
Thu Sep 29, 2022 4:28 am
Forum: Command: Modern Operations series
Topic: The Modelling of Combat/Mission Control
Replies: 5
Views: 967

Re: The Modelling of Combat/Mission Control




Hi,

I'm just so curious about the Combat/Mission Control system modelled in CMO after hundreds hours of gameplay. What it takes to build a system like this (Both in software and hardware)? What elements are omitted on purpose to simplify the overall complexity compared to the field-deployable ...
by wirthlin
Wed Sep 28, 2022 8:34 pm
Forum: Command: Modern Operations series
Topic: The Modelling of Combat/Mission Control
Replies: 5
Views: 967

Re: The Modelling of Combat/Mission Control


Hi,

I'm just so curious about the Combat/Mission Control system modelled in CMO after hundreds hours of gameplay. What it takes to build a system like this (Both in software and hardware)? What elements are omitted on purpose to simplify the overall complexity compared to the field-deployable ...
by wirthlin
Tue Sep 27, 2022 4:05 am
Forum: Tech Support
Topic: [RESOLVED][1276.1] Launcher appears to slow down Internet bandwidth
Replies: 7
Views: 660

Re: [1276.1] Launcher appears to slow down Internet bandwidth


I've checked that and in my case I cannot reproduce using same Google Speed Test.

You could basically go into Task Manager -> Performance -> ethernet/Wifi and double-check, then there's Resource Monitor at the bottom -> Network and provide at least screenshot of Launcher taking bandwidth ...
by wirthlin
Wed Sep 21, 2022 1:57 am
Forum: Tech Support
Topic: [RESOLVED][1276.1] Launcher appears to slow down Internet bandwidth
Replies: 7
Views: 660

Re: [1276.1] Launcher appears to slow down Internet bandwidth

[9/18/2022 10:08:23 PM]Log created!
[9/18/2022 10:08:23 PM]Starting System Info Collection
[9/18/2022 10:08:23 PM] DragFullWindows : True
[9/18/2022 10:08:23 PM] HighContrast : False
[9/18/2022 10:08:23 PM] MouseWheelScrollLines : 3
[9/18/2022 10:08:23 PM] PrimaryMonitorSize : {Width=1920, Height ...
by wirthlin
Sat Sep 17, 2022 3:08 pm
Forum: Tech Support
Topic: [RESOLVED][1276.1] Launcher appears to slow down Internet bandwidth
Replies: 7
Views: 660

[RESOLVED][1276.1] Launcher appears to slow down Internet bandwidth

When running the Launcher, Internet bandwidth as measured by Google Speed Test in a Chrome browser drops from about 50 Mbps to around 0.5 Mbps. This is a Windows 10 machine using the Store version of C:M0. I thought there may have been a slowdown on previous releases but didn't measure it until now ...
by wirthlin
Sat Jul 09, 2022 3:13 am
Forum: Tech Support
Topic: 1261.1 Hover Info Options blank
Replies: 0
Views: 125

1261.1 Hover Info Options blank

Running 1261.1. When Game->Game Options->Hover Info is selected, a blank window is shown:
Missing Hover Info Options.png
Missing Hover Info Options.png (381.1 KiB) Viewed 125 times
by wirthlin
Mon May 09, 2022 11:35 pm
Forum: Tech Support
Topic: Ridiculous RNG..
Replies: 8
Views: 790

Re: Ridiculous RNG..


My point wasn't that you couldn't do it. My point is that there that have been bugs in RNGs before. C++ had one years ago in one of its RAND functions.


Understood and agreed. There have indeed been bugs in RNGs before. The link that you provided, however, was an example of not using the math ...
by wirthlin
Mon May 09, 2022 3:36 am
Forum: Tech Support
Topic: Ridiculous RNG..
Replies: 8
Views: 790

Re: Ridiculous RNG..


Years ago there was a bug in core lua code that effected how random random number generators were. I think it was before CMO was even around.

https://www.matrixgames.com/forums/viewtopic.php?p=3629723#p3629723


The problem in that example was the use of non-integers as parameters when calling ...
by wirthlin
Sun Apr 24, 2022 11:12 pm
Forum: Lua Legion
Topic: SE_SelctedUnits()
Replies: 2
Views: 301

Re: SE_SelctedUnits()


I was wondering how this particular function can be used. The documentation says it returns a table of selected units

as an example the following code

local sub=ScenEdit_SelectedUnits()
print(sub)

yields this if I select a single submarine

{ units = { [1] = { name = 'K-517', guid = 'W7ZXL3 ...
by wirthlin
Sat Apr 23, 2022 2:50 am
Forum: Command: Modern Operations series
Topic: Weapon and Target DP and PoH. Making sense of numbers
Replies: 13
Views: 1226

Re: Weapon and Target DP and PoH. Making sense of numbers


TD;DR
Why am I able to destroy a target with weapon hits which DP adds up to less than the target DP?

When trying to allocate weapons to targets I was looking at the DP on the weapon and targets.
Specifically I needed to destroy a Hardened Submarine Pen (#109) with some AGM-158B JASSM (#11 ...
by wirthlin
Thu Apr 07, 2022 11:41 pm
Forum: Lua Legion
Topic: ScenEdit_SelectedUnits ()
Replies: 4
Views: 380

Re: ScenEdit_SelectedUnits ()






Hi K,

It does work. Take a look at the snippet below. I created three aircraft and selected them all. But only print out information on the 2nd one selected.

local t=ScenEdit_SelectedUnits()
print(t)

-- Get information on the 2nd one selected.
local myunit=ScenEdit_GetUnit(t.units[2 ...
by wirthlin
Wed Apr 06, 2022 10:40 pm
Forum: Lua Legion
Topic: ScenEdit_SelectedUnits ()
Replies: 4
Views: 380

Re: ScenEdit_SelectedUnits ()


ScenEdit_SelectedUnits ()

Does this function work?
If so how?
I want to create a special action that places a landing spot facility at the location of a hovering helicopter, but any helicopter selected not a predetermined one.
The ScenEdit_SelectedUnits () function isn't returning a value for the ...
by wirthlin
Wed Apr 06, 2022 2:42 am
Forum: Lua Legion
Topic: Command lua documents
Replies: 31
Views: 10913

Re: Command lua documents

Here's one I ran into just tonight:

World_GetCircleFromPoint (table) -

Parameters:
latitude
longitude
numpoints

Need to add "radius" (expressed in nautical miles) to the list of parameters

local t = World_GetCircleFromPoint({latitude=45, longitude=45, numpoints=16, radius=10})
by wirthlin
Thu Mar 31, 2022 3:26 pm
Forum: Command: Modern Operations series
Topic: Can I find out in the DB what effective ranges for different types of jammers are?
Replies: 3
Views: 536

Re: Can I find out in the DB what effective ranges for different types of jammers are?


As far as I can tell, that information is not available. I understand that the actual range varies, but how can I know roughly where to position those assets?

Thanks,

Chris


Hi Chris,

As you probably know, the effectiveness of a jammer versus range is dependent on the geometry and details of ...
by wirthlin
Fri Mar 25, 2022 5:00 pm
Forum: Lua Legion
Topic: Help needed - very weird behavior
Replies: 18
Views: 1127

Re: Help needed - very weird behavior



I found this link above but io.open doesn't seem to work

ERROR: [string "Console"]:12: attempt to index a nil value (global 'io')



Hi nukkxx5058,

Yeah, the LUA IO library is not for the commercial version of C:MO for security reasons. LUA file I/O is available as an option for the ...
by wirthlin
Fri Mar 25, 2022 5:00 pm
Forum: Lua Legion
Topic: Help needed - very weird behavior
Replies: 18
Views: 1127

Re: Help needed - very weird behavior



I found this link above but io.open doesn't seem to work

ERROR: [string "Console"]:12: attempt to index a nil value (global 'io')



Hi nukkxx5058,

Yeah, the LUA IO library is not for the commercial version of C:MO for security reasons. LUA file I/O is available as an option for the ...

Go to advanced search