Jump to content

Alberto_mic

Members
  • Posts

    4
  • Joined

  • Last visited

About Alberto_mic

  • Birthday 04/01/1992

Personal Information

  • Flight Simulators
    DCS, XP11, FS2020
  • Location
    Italy
  • Interests
    Flight simulation and scale Models.
  1. Thank you very much Hardcard, I tried with the functions in this way: local Players = net.get_player_list() print(Players()) --check output for PlayerIDIndex, playerID in pairs( Players ) do net.kick(playerID, message) net.log("RGT - Player Killed - player: "..Players..") end But I received this error message --> SCRIPTING: Mission script error: [string "local Players = ..."]:1: attempt to index global 'net' (a nil value) I saw that error message is realted to the first row, I tried to change and I received the same error. I tried to execute command on "do script" trigger on the miz. Why I obtain this error if you?
  2. I also add that we have implemented a life counting system with the csar, in detail 4 for each pilot. We also need the restart to reset those lives so we would prefer not to restart once a day but every 4 hours so that we can give the possibility to fly back to those who have lost all their lives.
  3. No, we have not set a timer in the mission, we have a batch that saves an image of the mission and after the restart reloads the last save. Sorry, I made a mistake in explaining the problem. We have seen that we can restart the server even with players inside. But in this case the batch doesn't save some mission changes. For this reason we would like to kill all sessions before rebooting.
  4. Hello Community, I tried to find a function or command to autockick all players from a multiplayer server but without success. In the specific I want to kick all player from the server before the server restart that is scheduled every 4 hours beacause server dosn't restart automatically if find a connected player. Could you please help me for this? Thank you very much in advanced.
×
×
  • Create New...