Jump to content

trampi

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by trampi

  1. nope, unfortunately it is not public. I am lacking the time to polish it for publication unfortunately but I agree that it would be in the interest of everyone to do it. I've replied to your PM. If anyone else needs help with this approach, don't be afraid to post here or send me a message!
  2. I fully agree. I am pretty sure that this has been tested. However, not the constellation with an object on the runway.
  3. Being a software developer myself: the chances are quite big. The codebase of DCS is huge and old. Every new change introduces the possibility to break other functionality in subtle ways.
  4. Sorry for the double post, but the following reddit link seems to add further data hinting at exactly this cause: https://www.reddit.com/r/hoggit/comments/muh22a/dcs_crashes_on_takeoff_with_a_unit_on_the_runway/ EDIT: Just saw that this has been fixed internally according to
  5. Hey Drexx, you might be onto something with your description! One of the crashs I experienced had the same circumstances reported by you. Constant looped radio from the ATC that I should not taxi (however, as the airspace and airport was devoid of other traffic, I did taxi to the runway). After departing, I raised my gear and at precisely this moment the server crashed.
  6. (UPDATE: According to https://forums.eagle.ru/topic/268987-game-and-server-crash-from-objects-on-runway/ it is fixed internally!) Since updating to 2.7, we got a steep increase in Dedicated Server Crashs. We experienced 48 Dedicated Server Crashs (on 8 Servers) in 2021. 25 of them happened in the last 5 days since the release of 2.7 on this Wednesday. All contain woATC::recalculateTaxiwaydata in the stack trace, hinting at an error in the programming there. All of our 25 Crash dump zip can be found in the following link, use the button on the top right to download all of them at once. Too big for forum attachment, sorry. https://owncloud.trampusch.info/index.php/s/7ZmnJWHgBgg7kks One sample: 2021-04-18 15:21:23.504 INFO EDCORE: DCS/2.7.0.4625 (x86_64; Windows NT 10.0.17763) 2021-04-18 15:21:23.505 INFO EDCORE: C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server\bin\Flight.dll 2021-04-18 15:21:23.506 INFO EDCORE: # C0000005 ACCESS_VIOLATION at AAA61AE0 00:00000000 2021-04-18 15:21:23.512 INFO EDCORE: SymInit: Symbol-SearchPath: '.;C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server;C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server\bin;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Administrator' 2021-04-18 15:21:23.516 INFO EDCORE: OS-Version: 10.0.17763 () 0x110-0x3 2021-04-18 15:21:24.110 INFO EDCORE: 0x00000000000C1AE0 (Flight): woATC::recalculateTaxiwaydata + 0x1D10 2021-04-18 15:21:24.112 INFO EDCORE: 0x00000000000C4E77 (Flight): woATC::setClientStatusServer + 0x707 2021-04-18 15:21:24.114 INFO EDCORE: 0x00000000000C4235 (Flight): woATC::setClientStatus + 0x35 2021-04-18 15:21:24.116 INFO EDCORE: 0x00000000000BE662 (Flight): woATC::onObjectDestroy + 0x112 2021-04-18 15:21:24.118 INFO EDCORE: 0x00000000000A6CE1 (WorldGeneral): slot_decompose_ex + 0xCF1 2021-04-18 15:21:24.120 INFO EDCORE: 0x00000000000AAE27 (WorldGeneral): WorldManager::notifyDeath + 0x37 2021-04-18 15:21:24.122 INFO EDCORE: 0x00000000004F7F84 (DCS): �� �'Y��w���cN'%Y��j��G�ԅ8c8�5H��}y^`�s�ܦ�Xq�{Ӆ�3�h �q�eB����[���LÑ�5Q!�;}��Li�.z6QI*~c|�����&�8f���M�F΋_hA�鮐$��/�. ��,�����25/&�'pdVKl%���Q�>ށm�ᆳbR����6}H�����h\��\�j���!�G�7���D���%���6�JEa�E��)�Rg�f�l�R�g/�2�'����|X�DZ`�Zu��U��yS%�G��+�М��(\�o�h��C�8�T����d'��Ý#��[����V�[3�i�6+�˸��B{��0'.���B�};E��I/<��ٟ�t����J b%.X'BX$��%��\$W�Onzk���`L��!a���)e����&�w�:�q�p����;z�5&�MǙP�%f�ky4ӯY��X���_���'?�q�FA����R�m���xRh\���'��˼6�n�C'��[�'𕸋]\��f_q���f�n~�!��Tɑ{a���{]����Uk:R�'�|�-&� Z'x�u8��f�(!U����X�e^w1����s֔���\�d�\�d8J�B�Ob�f��`�ŝ�2��,��q'�xH/˹���m�o���:aT9^ ������p��f�;���gӁ�"��r1����8��0�<� i���N<F���۝3�n7 �6� ��I0���G�Hӄ�=<)��0��dw �u��>�H\��ȳ7������u��ڼ:��QRD��oG�;�y^��5�>��#|q�����`��5L�R�hl��C��e���F|��Ƀ�O����rǝ`��I��):`�;�h���,� / �VG���3����,<��ޣ� /j�P����f�?�p��g��|YO *|;�D��U�õ�/]��UD���#HZRS9�.�Xe�/1�:;x���Ui 2021-04-18 15:21:24.124 INFO EDCORE: 0x0000000000050BA2 (Scripting): Scripting::regLuaMissionCommandManager + 0x922 2021-04-18 15:21:24.126 INFO EDCORE: 0x00000000000014FD (World): wListener::operator= + 0x11D 2021-04-18 15:21:24.128 INFO EDCORE: 0x0000000000003EA0 (World): wSimCalendar::DoActionsUntil + 0x160 2021-04-18 15:21:24.130 INFO EDCORE: 0x00000000007E9932 (DCS): �� �'Y��w���cN'%Y��j��G�ԅ8c8�5H��}y^`�s�ܦ�Xq�{Ӆ�3�h �q�eB����[���LÑ�5Q!�;}��Li�.z6QI*~c|�����&�8f���M�F΋_hA�鮐$��/�. ��,�����25/&�'pdVKl%���Q�>ށm�ᆳbR����6}H�����h\��\�j���!�G�7���D���%���6�JEa�E��)�Rg�f�l�R�g/�2�'����|X�DZ`�Zu��U��yS%�G��+�М��(\�o�h��C�8�T����d'��Ý#��[����V�[3�i�6+�˸��B{��0'.���B�};E��I/<��ٟ�t����J b%.X'BX$��%��\$W�Onzk���`L��!a���)e����&�w�:�q�p����;z�5&�MǙP�%f�ky4ӯY��X���_���'?�q�FA����R�m���xRh\���'��˼6�n�C'��[�'𕸋]\��f_q���f�n~�!��Tɑ{a���{]����Uk:R�'�|�-&� Z'x�u8��f�(!U����X�e^w1����s֔���\�d�\�d8J�B�Ob�f��`�ŝ�2��,��q'�xH/˹���m�o���:aT9^ ������p��f�;���gӁ�"��r1����8��0�<� i���N<F���۝3�n7 �6� ��I0���G�Hӄ�=<)��0��dw �u��>�H\��ȳ7������u��ڼ:��QRD��oG�;�y^��5�>��#|q�����`��5L�R�hl��C��e���F|��Ƀ�O����rǝ`��I��):`�;�h���,� / �VG���3����,<��ޣ� /j�P����f�?�p��g��|YO *|;�D��U�õ�/]��UD���#HZRS9�.�Xe�/1�:;x���Ui 2021-04-18 15:21:24.134 INFO EDCORE: 0x00000000007E969E (DCS): �� �'Y��w���cN'%Y��j��G�ԅ8c8�5H��}y^`�s�ܦ�Xq�{Ӆ�3�h �q�eB����[���LÑ�5Q!�;}��Li�.z6QI*~c|�����&�8f���M�F΋_hA�鮐$��/�. ��,�����25/&�'pdVKl%���Q�>ށm�ᆳbR����6}H�����h\��\�j���!�G�7���D���%���6�JEa�E��)�Rg�f�l�R�g/�2�'����|X�DZ`�Zu��U��yS%�G��+�М��(\�o�h��C�8�T����d'��Ý#��[����V�[3�i�6+�˸��B{��0'.���B�};E��I/<��ٟ�t����J b%.X'BX$��%��\$W�Onzk���`L��!a���)e����&�w�:�q�p����;z�5&�MǙP�%f�ky4ӯY��X���_���'?�q�FA����R�m���xRh\���'��˼6�n�C'��[�'𕸋]\��f_q���f�n~�!��Tɑ{a���{]����Uk:R�'�|�-&� Z'x�u8��f�(!U����X�e^w1����s֔���\�d�\�d8J�B�Ob�f��`�ŝ�2��,��q'�xH/˹���m�o���:aT9^ ������p��f�;���gӁ�"��r1����8��0�<� i���N<F���۝3�n7 �6� ��I0���G�Hӄ�=<)��0��dw �u��>�H\��ȳ7������u��ڼ:��QRD��oG�;�y^��5�>��#|q�����`��5L�R�hl��C��e���F|��Ƀ�O����rǝ`��I��):`�;�h���,� / �VG���3����,<��ޣ� /j�P����f�?�p��g��|YO *|;�D��U�õ�/]��UD���#HZRS9�.�Xe�/1�:;x���Ui 2021-04-18 15:21:24.136 INFO EDCORE: 0x00000000007FF1DB (DCS): �� �'Y��w���cN'%Y��j��G�ԅ8c8�5H��}y^`�s�ܦ�Xq�{Ӆ�3�h �q�eB����[���LÑ�5Q!�;}��Li�.z6QI*~c|�����&�8f���M�F΋_hA�鮐$��/�. ��,�����25/&�'pdVKl%���Q�>ށm�ᆳbR����6}H�����h\��\�j���!�G�7���D���%���6�JEa�E��)�Rg�f�l�R�g/�2�'����|X�DZ`�Zu��U��yS%�G��+�М��(\�o�h��C�8�T����d'��Ý#��[����V�[3�i�6+�˸��B{��0'.���B�};E��I/<��ٟ�t����J b%.X'BX$��%��\$W�Onzk���`L��!a���)e����&�w�:�q�p����;z�5&�MǙP�%f�ky4ӯY��X���_���'?�q�FA����R�m���xRh\���'��˼6�n�C'��[�'𕸋]\��f_q���f�n~�!��Tɑ{a���{]����Uk:R�'�|�-&� Z'x�u8��f�(!U����X�e^w1����s֔���\�d�\�d8J�B�Ob�f��`�ŝ�2��,��q'�xH/˹���m�o���:aT9^ ������p��f�;���gӁ�"��r1����8��0�<� i���N<F���۝3�n7 �6� ��I0���G�Hӄ�=<)��0��dw �u��>�H\��ȳ7������u��ڼ:��QRD��oG�;�y^��5�>��#|q�����`��5L�R�hl��C��e���F|��Ƀ�O����rǝ`��I��):`�;�h���,� / �VG���3����,<��ޣ� /j�P����f�?�p��g��|YO *|;�D��U�õ�/]��UD���#HZRS9�.�Xe�/1�:;x���Ui 2021-04-18 15:21:24.138 INFO EDCORE: 0x00000000007D0174 (DCS): �� �'Y��w���cN'%Y��j��G�ԅ8c8�5H��}y^`�s�ܦ�Xq�{Ӆ�3�h �q�eB����[���LÑ�5Q!�;}��Li�.z6QI*~c|�����&�8f���M�F΋_hA�鮐$��/�. ��,�����25/&�'pdVKl%���Q�>ށm�ᆳbR����6}H�����h\��\�j���!�G�7���D���%���6�JEa�E��)�Rg�f�l�R�g/�2�'����|X�DZ`�Zu��U��yS%�G��+�М��(\�o�h��C�8�T����d'��Ý#��[����V�[3�i�6+�˸��B{��0'.���B�};E��I/<��ٟ�t����J b%.X'BX$��%��\$W�Onzk���`L��!a���)e����&�w�:�q�p����;z�5&�MǙP�%f�ky4ӯY��X���_���'?�q�FA����R�m���xRh\���'��˼6�n�C'��[�'𕸋]\��f_q���f�n~�!��Tɑ{a���{]����Uk:R�'�|�-&� Z'x�u8��f�(!U����X�e^w1����s֔���\�d�\�d8J�B�Ob�f��`�ŝ�2��,��q'�xH/˹���m�o���:aT9^ ������p��f�;���gӁ�"��r1����8��0�<� i���N<F���۝3�n7 �6� ��I0���G�Hӄ�=<)��0��dw �u��>�H\��ȳ7������u��ڼ:��QRD��oG�;�y^��5�>��#|q�����`��5L�R�hl��C��e���F|��Ƀ�O����rǝ`��I��):`�;�h���,� / �VG���3����,<��ޣ� /j�P����f�?�p��g��|YO *|;�D��U�õ�/]��UD���#HZRS9�.�Xe�/1�:;x���Ui 2021-04-18 15:21:24.140 INFO EDCORE: 0x00000000007D0544 (DCS): �� �'Y��w���cN'%Y��j��G�ԅ8c8�5H��}y^`�s�ܦ�Xq�{Ӆ�3�h �q�eB����[���LÑ�5Q!�;}��Li�.z6QI*~c|�����&�8f���M�F΋_hA�鮐$��/�. ��,�����25/&�'pdVKl%���Q�>ށm�ᆳbR����6}H�����h\��\�j���!�G�7���D���%���6�JEa�E��)�Rg�f�l�R�g/�2�'����|X�DZ`�Zu��U��yS%�G��+�М��(\�o�h��C�8�T����d'��Ý#��[����V�[3�i�6+�˸��B{��0'.���B�};E��I/<��ٟ�t����J b%.X'BX$��%��\$W�Onzk���`L��!a���)e����&�w�:�q�p����;z�5&�MǙP�%f�ky4ӯY��X���_���'?�q�FA����R�m���xRh\���'��˼6�n�C'��[�'𕸋]\��f_q���f�n~�!��Tɑ{a���{]����Uk:R�'�|�-&� Z'x�u8��f�(!U����X�e^w1����s֔���\�d�\�d8J�B�Ob�f��`�ŝ�2��,��q'�xH/˹���m�o���:aT9^ ������p��f�;���gӁ�"��r1����8��0�<� i���N<F���۝3�n7 �6� ��I0���G�Hӄ�=<)��0��dw �u��>�H\��ȳ7������u��ڼ:��QRD��oG�;�y^��5�>��#|q�����`��5L�R�hl��C��e���F|��Ƀ�O����rǝ`��I��):`�;�h���,� / �VG���3����,<��ޣ� /j�P����f�?�p��g��|YO *|;�D��U�õ�/]��UD���#HZRS9�.�Xe�/1�:;x���Ui 2021-04-18 15:21:24.142 INFO EDCORE: 0x0000000001C2CC13 (DCS): AmdPowerXpressRequestHighPerformance + 0xE33C0F 2021-04-18 15:21:24.146 INFO EDCORE: 0x0000000000A060DE (DCS): �� �'Y��w���cN'%Y��j��G�ԅ8c8�5H��}y^`�s�ܦ�Xq�{Ӆ�3�h �q�eB����[���LÑ�5Q!�;}��Li�.z6QI*~c|�����&�8f���M�F΋_hA�鮐$��/�. ��,�����25/&�'pdVKl%���Q�>ށm�ᆳbR����6}H�����h\��\�j���!�G�7���D���%���6�JEa�E��)�Rg�f�l�R�g/�2�'����|X�DZ`�Zu��U��yS%�G��+�М��(\�o�h��C�8�T����d'��Ý#��[����V�[3�i�6+�˸��B{��0'.���B�};E��I/<��ٟ�t����J b%.X'BX$��%��\$W�Onzk���`L��!a���)e����&�w�:�q�p����;z�5&�MǙP�%f�ky4ӯY��X���_���'?�q�FA����R�m���xRh\���'��˼6�n�C'��[�'𕸋]\��f_q���f�n~�!��Tɑ{a���{]����Uk:R�'�|�-&� Z'x�u8��f�(!U����X�e^w1����s֔���\�d�\�d8J�B�Ob�f��`�ŝ�2��,��q'�xH/˹���m�o���:aT9^ ������p��f�;���gӁ�"��r1����8��0�<� i���N<F���۝3�n7 �6� ��I0���G�Hӄ�=<)��0��dw �u��>�H\��ȳ7������u��ڼ:��QRD��oG�;�y^��5�>��#|q�����`��5L�R�hl��C��e���F|��Ƀ�O����rǝ`��I��):`�;�h���,� / �VG���3����,<��ޣ� /j�P����f�?�p��g��|YO *|;�D��U�õ�/]��UD���#HZRS9�.�Xe�/1�:;x���Ui 2021-04-18 15:21:24.151 INFO EDCORE: 0x0000000000017974 (KERNEL32): BaseThreadInitThunk + 0x14 2021-04-18 15:21:24.153 INFO EDCORE: 0x000000000005A2D1 (ntdll): RtlUserThreadStart + 0x21
  7. Hi IronMike, thanks for replying. Should your investigation yield no results in the F14 code, could you kindly report this bug upstream or drop me a note to report it myself to ED? Thanks! trampi
  8. Title should summarize the issue. The F-14 is able to get AWACS information and the AWACS position via DL, even though the AWACS is not yet spawned. I've attached a simple miz to reproduce the issue almost instantly. Steps to reproduce: 1. Have a mission with a flying blue E-3A in the AWACS role (but has late activation checked!), a player controlled F-14 and a red unit outside the F-14 Radar but inside the AWACS range 2. After spawning in the F14, switch to the RIO seat. Verify that the TID does not display the red unit. 3. Open the kneeboard, lookup the DL frequency of the E-3A and dial it in (e.g. 314.00) 4. After not more than five seconds, the TID will display information about the blue AWACS unit, even though no AWACS is spawned 5. After not more than 60 seconds, the TID will display information about the red unit as well 6. switch the DL frequency to something unused to observe that the red unit and the AWACS disappear The attached mission allows to quickly verify this test case. Be sure to use TID in GND STAB and with sufficient range to observe the effects mentioned above on the TID. f14.miz
  9. newest patch: MP. Dedicated server crash in lua.dll when some client connected - probably fixed. lets see
  10. Another improvement for me would be to be able to persist bookmarks. I fly often the same airports and will most of the time first create bookmarks for all relevant charts. Which in caucasus takes some time. EDIT: Did not know that not all modules have the bookmark kneeboard page functionality. Would it be possible to move that to the base game as well? E.g. the A-10C II does not have it.
  11. Had a glimpse at the other crash logs. Seems like we're not the only one's having the crashs happening contemporary to players connecting with servers or choosing player slots.
  12. Unfortunately we also got a big increase in server crashs on our servers starting with the first november update. We did update LotATC and we're using TacView. Edit: We're not using SLMOD Please ignore most of the mission scripting errors, as they were there months before without crashing the server. At least in this specific case, the error happens when someone is joining the server. dcs.log-20201111-164825.zip
  13. Hi! For everyone else struggling with this: _stats.eventHandler = { onEvent = function(self, e) if e.id == world.event.S_EVENT_PLAYER_COMMENT then -- todo: your code here end end } world.addEventHandler(_stats.eventHandler) e contains an Event like this: {"comment":"LSO: GRADE:C : _FX_ _LOIC_ _PIC_ _PPPIC_ _LOAR_ WIRE# 1 _EGIW_ [bC]","id":22,"time":28897.379} You can use this and couple it time-wise with the normal landing event to get information about who did the landing. I have no good statistics yet, but in my first tests the player_comment-Event was dispatched maximum 2 seconds after the landing event. Edit: And sometimes the landing event is dispatched after the LSO grading Be sure to check that the comment starts with "LSO: ". More information here: https://wiki.hoggitworld.com/view/DCS_event_player_comment EDIT: Waveoffs are a bit hard, because one can not reliably connect them to individual players / units. I've asked an ED programmer if we could add the unit id / player id to this event. Should I get an answer I'll add it here.
  14. I am a Software Engineer myself (not in the game industry though) and want to applaud on Good to hear that you manage technical debt. It is pretty funny to see lots of people without any clue about developing software severly understimating the complexity of what ED is doing. DCS has code running back to atleast 2004 (according to the comment in some luas :-)). Maintaining this software is really a complex task. ED could have prevented lot of heat by not communicating dates. But they try to communicate as open as possible. And I really appreciate communicating openly, it is definitely better than not communicating. I understand that a lot of people are really looking forward to the SC and are enthusiastic about this. But please do not forget, ED is not your enemy, they are not some kind of soulless AAA profit gain optimized company with thousands of developers. They definitely have lot of passion for what they do. They care for DCS as much as you do, even if the problems you experience are not yet addressed. DCS is such a huge, vast and complex simulation, with so many different things to improve - they can not work on everything in parallel. Just give them time.
  15. Thank you for your answers, I've got it running now. Below is a architecture diagram: My hook is running in the Server Control Environment (Saved Games/DCS/Scripts/Hooks/statsexport.lua). I've discovered that in the Mission Environment ("Manager") I can execute code in the Mission Environment ("Real") via a_do_script. There I can access all Mission APIs. After I've disabled the Mission Environment sanitizing calls in DCS_ROOT/Scripts/MissionScripting.lua I can now export all necessary data via UDP there as well. Thanks for all the help! If anyone stumbles upon this and needs help just drop a PM.
  16. Hi Hardcard, I was a bit in a hurry yesterday, so I'll try to provide more Information :-) I'll try to explain 1) What I want to achieve 2) How I thought I can achieve it 3) Where I am stuck and what I will try next Lets start... 1) What I want to achieve I want to track statistics on our wing servers. Especially I want to track the follwing statistics: * time in flight * time on airport * time on carrier * a2a kills * a2g kills (ships, vehicles) * takeoffs * landings * player deaths * ejects * carrier traps The statistics should then be visualized on our website. Visualizing and getting the statistics on the website is not the main problem. Exporting the data from DCS is where I am stuck right now. I want the solution to be as minimal invasive as possible, so a Hook in the server would be nice! That would also mean that we do not have to touch any mission files, as the hook is executed always. 2) How I thought I can achieve it I use the DCS Control API in a Hook Script, so that I do not have to prepare each Mission with the score script, as the hook is always run. Thanks to DCS.setUserCallbacks I am provided with the following events: --"friendly_fire", playerID, weaponName, victimPlayerID --"mission_end", winner, msg --"kill", killerPlayerID, killerUnitType, killerSide, victimPlayerID, victimUnitType, victimSide, weaponName --"self_kill", playerID --"change_slot", playerID, slotID, prevSide --"connect", playerID, name --"disconnect", playerID, name, playerSide, reason_code --"crash", playerID, unit_missionID --"eject", playerID, unit_missionID --"takeoff", playerID, unit_missionID, airdromeName --"landing", playerID, unit_missionID, airdromeName --"pilot_death", playerID, unit_missionID Most of the things I want to track are provided here :-) But lets look at time in flight / on airport / on carrier: I want to sample each second the unit state. First, I would iterate over all player objects. Next I would call the inAir method (https://wiki.hoggitworld.com/view/DCS_func_inAir) to check if the unit is in air / on ground. If a user is on ground I would calculate the distance to carrier objects, so that I know if it is an airport or a carrier. 3) Where I am stuck and what I will try next However, the Server Control API / Export API (which is accessible from the Sever Control API) does not allow me to call the mission environment API, e.g. inAir(). I thought that net.dostring_in would allow me to call the mission environment (and the mission API!) from the server api. The serialize-thing was thought to help me pass back data from the net.dostring_in('mission', code) to the server control environment. So, how can I find out if a player is in air / on airport / on carrier? I could determine heuristically if the unit is above ground, not moving very fast, and so on... but: what if the player is in a hovering helicopter not that far above the airport? There is that little neat function inAir that would provide accurate information without any guesswork involved ;-) So thats the idea why I want to call inAir via net.dostring_in('mission', code), but that does not seem to work. Currently, I hope to still somehow access mission script functions, e.g. inAir, via the server control environment. The other idea would be to write a small program that automatically repackages all mission files and injects the statistics script - this way I would be able to call all the DCS Mission API functions and it would not lead to more work for our mission designers - they do not have to check that the statistics script is up to date and so on. MOOSE Discord is indeed helpful! I just got the following thing wrong: 1) The mission environment can not access the server control environment because of security reasons, so that a rogue mission file can not e.g. change maps (this is correct) 2) The server control environment can access the mission environment and all the mission API via net.dostring_in (this seems to be my wrong assumption) So, my question still remains: Is there any way to somehow access the Unit.inAir method from the server control api? Or do I have to embed a seperate script in the mission file? Pseudo code for what I want to achieve in the server control hook code: return net.dostring_in('mission', [[ local blue = coalition.side.BLUE local bluePlayers = coalition.getPlayers(blue) return tostring(bluePlayers[1].inAir()) ]]) Right now I get the error that coalition is a nil value. Any help appreciated.
  17. Hello everyone, I am trying to build a statistics script that should run on our server regardless of the map selected. I've got a hook running in the server control environment and tried to use something like this: return net.dostring_in('mission', [[ local function serialize(val) if type(val) == 'number' or type(val) == 'boolean' then return tostring(val) elseif type(val) == 'string' then return string.format("%q", val) elseif type(val) == 'table' then local k, v local str = '{' for k, v in pairs(val) do str = str .. '[' .. serialize(k) .. ']=' .. serialize(v) .. ',' end str = str .. '}' return str end return 'nil' end return tostring(serialize(coalition == nil)) ]]) As far as I have understood the documentation, net.dostring_in('mission', 'code here') should allow me to execute code in the mission environment. Why am I not able to access the coalition singleton? According to https://wiki.hoggitworld.com/view/Simulator_Scripting_Engine_Documentation it should be available in the mission environment? Thanks in advance, trampi
  18. Voodoo_One hats gut zusammengefasst - es wäre schlicht ein ziemlicher Hack, Windows 10 auf nem Dedizierten Server zu installieren. Das ist bei Hetzner / anderen dedizierten Server-Anbietern auch einfach nicht vorgesehen und nur extrem umständlich zu realisieren. Plus dass das Lizenzrechtlich problematisch ist - das Rechtsrisiko hol ich mir nicht ins Boot. Linux wäre mir auch lieber, aber bevor ich dann unter Linux ein Windows 10 mit Performance-Einbußen virtualisiere, gehe ich lieber mit Windows Server auf Nummer sicher.
  19. Hallo Sperrfeuer, wir mieten einen Server bei hetzner.de. Wir betreiben zwei DCS-Server (private & public), SRS, TacView, LotATC Hier gibts die "Serverauktion" mit reduzierten Preisen: https://www.hetzner.de/sb Definitiv reichen sollte: i7 4770 oder E3 1246V3 sind gute CPUs für die Aufgabe. 32 GB RAM (mehr sollte net notwendig sein) NVMe SSD wäre net verkehrt Achtung: Windows-Server-Lizenz notwendig, die kostet bei Hetzner 27,49 € pro Monat. Unser Server kostet damit 44 € + 27,49 € = 71,49 € Monat. Bei Fragen kannst dich gerne melden.
×
×
  • Create New...