Jump to content

Kanelbolle

Members
  • Posts

    386
  • Joined

  • Last visited

Everything posted by Kanelbolle

  1. Might want to put the error message and the code you are trying to run in the post. Hard to help if there is no info.
  2. I don't use NordVPN. I use PIA and they have a option called "Allow LAN Traffic" This page might help you sett a whitelist on NordVPN: https://www.aazuspan.dev/blog/til-whitelisting-a-local-subnet-with-nordvpn/ When it comes to DCS, this might work. Change the app to DCS.exe under bin and mt-bin\ : On the NORD Client app. Go to Settings>Split Tunneling>Toggle Split tunneling to ON>Select apps>*Then add the file explorer.exe to the list of apps/apps you want to stay connected on the LAN when VPN in on.
  3. As the title says. If you join a DS in to the AH-64D while the server is Paused and pick a slot before the server unpauses, there will be no waypoint from the Mission Editor available. You have to release the slot and reslot when the server is not paused. Works fine in Local server and single player. AH-64_LaserBug-20250323-132848.trk
  4. From the release of the "Mission State Save" functionality in "DCS 2.9.14.8222" this script is no longer maintained.
  5. It's quite obvious what's wrong here. The error message says it right out. Your code is trying to to pass a string 'Gruppe.zone' as 2 parameters. This is not how parameters are passed. You even wrote the answer to the problem in your first line. Should be mist.respawnInZone('Gruppe','Zone') not "mist.respawnInZone('Gruppe,Zone')" Gruppe should also be a valid group name. zone should also be a valid zone name. Good luck
  6. As far as i know, mods don't work with the embark action. This includes infantry mods. You need scripst like CTLD to transport troops with them
  7. Could also be a Window update that broke this.
  8. Seams like an issue with NordVPN then, you should contact their support.
  9. Check "Internett Kill Switch" & "App Kill Switch" settings and try to change the DNS the app uses to example googles dns servers.
  10. If you hold the mouse cursor on the option, it will tell you what it does:
  11. Seams to be broken yes. Noting new for ED to brake stuff unfortunately. Seam to not do anything under "onPlayerTryChangeSlot" And seam to crash the server under "onPlayerChangeSlot" (runs in a loop forever)
  12. nice that you got it working There is a way to get the flags from the mission environment, just look at SSB Here are the functions it uses: function ssb.getFlagValue(_flag) local _status,_error = net.dostring_in('server', " return trigger.misc.getUserFlag(\"".._flag.."\"); ") if not _status and _error then net.log("SSB - error getting flag: ".._error) return tonumber(ssb.enabledFlagValue) else --disabled return tonumber(_status) end end function ssb.setFlagValue(_flag, _number) -- Added by FlightControl local _status,_error = net.dostring_in('server', " return trigger.action.setUserFlag(\"".._flag.."\", " .. _number .. "); ") if not _status and _error then net.log("SSB - error setting flag: ".._error) return false end return true end You can find the whole script here:
  13. %USERPROFILE%\Saved Games\DCS.dcs_serverrelease\Scripts\Hooks seams correct, it is where DCS.dcs_serverrelease is what ever you call the profile in the dedicated server shortcut parameter -w Example starting the dedicated server with : DCS_server.exe -w MyDedicatedDCSServer MyDedicatedDCSServer will be the profile for that instance of the DCS Dedicated server. Script works just fine on my local game server:
  14. serverhook.lua ? Never seen this file, might work but Hook scripts should be in your own script file under : %USERPROFILE%\Saved Games\DCS\Scripts\Hooks\
  15. Are you running this as a HOOK script ? "onPlayerTryChangeSlot" only works in a hook script. As far as u can tell without testing it, you might need TRUE as a parameter in send_chat. local myCall = {} function myCall.onPlayerTryChangeSlot(id, side, slotId) net.send_chat("TEST", true) end DCS.setUserCallbacks(myCall) But will say that the easy way to avoid people on a server from joining a side you don't want them to, is to just set a password on the server for the side. Blue and red side can have a password on servers.
  16. Have you tried: DCS func effectSmokeBig - DCS World Wiki - Hoggitworld.com ?
  17. It's quit straight forward. See the attached example misison. test-heli-inf-transport.miz
  18. Readme on the GitHub points to discord for help: https://github.com/ciribob/DCS-CTLD
  19. Made an example... if it works as you want it to, is a different story.. Start the mission and press F7 to watch the AI turn off when the aircraft go below 100 FT AGL test - ai off on altitude.miz
  20. I did some testing with moose and the long version of the code you have works. But that said, if you are running Single player, the warehouse will not always show correct.. If i start SP and try and open Resources on Batumi it will not open the warehouse and if i try to spawn in the TF-51D in my test mission (se attachment) i will never be able to spawn even after the aircraft is added. If i go to spectate and wait for the script to run and then try to spawn it works. This works perfectly in multiplayer tho. Try starting a local server and see if it works. local Batumi=AIRBASE:FindByName("Batumi") local storage=Batumi:GetStorage() storage:AddItem("A-10C", 3) storage:AddItem("TF-51D", 3) storage:AddItem("weapons.missiles.AIM_120C", 10) test - moose warehouse add.miz
  21. There is a reason why hoggit exist. ED is not really documenting much. I always search hoggit for commands or this forum.
  22. Default state is Unlimited on all. There is a check box on the left in the resource manager on all the category's.
  23. Not sure what this has to do with the wishlist for the mission editor. Have you tried changing the game from window mode to Fullscreen or the other way around? You can also try closing DCS and the launcher. Then rename the DCS profile folder under %userprofile%\Saved games\ Then start DCs again.
  24. You should be able to disable AI controller on them and enable on them with triggers. There is also triggers for altitude. Just look through the trigger list.
  25. Never used moose. But i don't see why anyone would use mist or moose on this. It's just as easy with the regular code: local _afName = "Batumi" if (trigger.misc.getUserFlag(60) == 6) then local _wpn = "weapons.missiles.AIM_120C" local _wpnAmount = 10 Airbase.getByName(_afName):getWarehouse():addItem(_wpn , _wpnAmount) end
×
×
  • Create New...