Jump to content

Slmod- multiplayer server mod for new mission logic functionality


Recommended Posts

I've experienced kicking the wrong person using the ID kick system and I'm not sure why. The first time I ever used it there were quite a few people on the server. It kicked the wrong guy and so I used his name instead. Just recently had to use it and it worked perfectly. Another admin for our server also experienced the same issue. I'm wondering if there is a way for the list to bug out.


Edited by Oscar Juliet
Link to comment
Share on other sites

  • 1 month later...

Would this be compatible with mist?

Win10 64, GeForce GTX1080 Ti, Rift touch, i5- 2.90GHz(o/c), 16gb Corsair Vengance RAM, X-56

KA-50-3, AH-64D, A10c II, AV-8B, MI-8, Spitfire, Viggen, FC3, F-14, F-15c,FA-18,  S/Carrier, CA, Nevada, Normandy 44, Channel,  Persian gulf, Marianas, Syria, Sth Atlantic, 

Link to comment
Share on other sites

I can confirm when using id kick

 

You indeed do kick the wrong player sometimes , names and ID are not matching correctly

METAR weather for DCS World missions

 

Guide to help out new DCS MOOSE Users -> HERE

Havoc Company Dedicated server info Connect IP: 94.23.215.203

SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245

Please contact me HERE if you have any server feedback or METAR issues/requests

Link to comment
Share on other sites

hi, go into the scripts folder is there another scripts folder inside it ?

 

did you start multiplayer and host a quick game for a few secs ?

METAR weather for DCS World missions

 

Guide to help out new DCS MOOSE Users -> HERE

Havoc Company Dedicated server info Connect IP: 94.23.215.203

SRS enabled - freqs - Main = 243, A2A = 244, A2G = 245

Please contact me HERE if you have any server feedback or METAR issues/requests

Link to comment
Share on other sites

  • 5 weeks later...

In lua, there is a debug object present. It can be used for various purposes.

http://www.lua.org/pil/23.html

 

SLMOD puts debug to nil, resulting in a mission script not being able to trace-back the call stack when dropping a bug report in dcs.log.

 

Also, it disables all tracing, which is used for debug reasons.

 

Is there an option that you can keep the lua debug object?

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

  • 3 months later...

Slmod Version 7.0, multiplayer server mod for DCS World

 

I'm a little sick of writing, so I'll just paste in the intro from the Slmod Version 7.0 manual.

 

TLDR:

- Adds Admin Menu for server management/administration with abilities to load missions, pause/unpause the server, kick/ban players, register other admins, etc.

- Adds SlmodStats multiplayer stats system that tracks player stats

- Adds Autokick/Autoban feature

- Adds new functions to Mission Scripting (see below)

- Adds server message of the day (MOTD) system

- Adds a chat log feature

- Adds a feature keep the mission paused when no one is in it

- Adds a help menu to give all Slmod commands

- Adds a coordinate conversion utility

- And even more...

 

 

Here's a quick list of the functions Slmod adds to mission scripting:

 

 

Chat input/output functions:

slmod.chat_cmd (allow host and multiplayer clients to set flags with chat)

slmod.msg_out (output a message)

slmod.msg_out_w_unit (output a message that includes a multiplayer unit/pilot name)

slmod.CA_chatmsg (sends a chat message only to Combined Arms players)

slmod.msg_MGRS (output a message and current mean MGRS coordinates of a set of units)

slmod.msg_LL (output a message and current mean lat/lon coordinates of a set of units)

slmod.msg_leading (output a message and coordinates of leading edge of a set of units)

 

Parallel Tasking System:

slmod.add_task (add a task to the parallel tasking system)

slmod.add_red_task (add a task to the parallel tasking system, red only)

slmod.add_blue_task (add a task to the parallel tasking system, blue only)

slmod.remove_task (remove a task from the parallel tasking system)

slmod.remove_red_task (remove a task, red only)

slmod.remove_blue_task (remove a task, blue only)

slmod.show_task (manually show a task)

slmod.show_red_task (manually show a task, red only)

slmod.show_blue_task (manually show a task, blue only)

slmod.show_task_list (manually show the task list)

slmod.show_red_task_list (manually show the task list, red only)

slmod.show_blue_task_list (manually show the task list, blue only)

slmod.set_PTS_list_output (change the display mode and/or display time of the tasking list)

slmod.set_PTS_task_output (change the display mode and/or display time of the tasks)

 

Parallel Options System:

slmod.add_option (add an option to the parallel options system, both sides)

slmod.add_red_option (add an option to the parallel options system, red only)

slmod.add_blue_option (add an option to the parallel options system, blue only)

slmod.remove_option (remove an option from the parallel options system, both sides)

slmod.remove_red_option (remove an option, red only)

slmod.remove_blue_option (remove an option, blue only)

slmod.show_option_list (manually show the options list, both sides)

slmod.show_red_option_list (manually show the option list, red only)

slmod.show_blue_option_list (manually show the option list, blue only)

slmod.set_POS_output (change the display mode and/or display time of the option list)

 

Events-based functions:

slmod.mapobj_destroyed (detect destruction of specific map object(s))

slmod.mapobj_dead_in_zone (detect destruction of map objects in a zone)

slmod.units_firing (detect when units are firing weapons)

slmod.units_hitting (detect when units hit other units with weapons)

slmod.units_killed_by (detect when units kill other units)

slmod.units_crashed (detect when aircraft crash)

slmod.pilots_dead (detect when pilots die)

slmod.units_ejected (detect when pilots eject)

 

Weapons-tracking functions:

slmod.weapons_impacting_in_zones (detect when weapons impact in ME trigger zones)

slmod.weapons_impacting_in_moving_zones (detect when weapons, impact within a radius around units)

slmod.weapons_in_zones (detect when weapons fly within ME trigger zones)

slmod.weapons_in_moving_zones (detect when weapons fly within a radius around units)

 

Unit property based functions:

slmod.num_dead_gt (detect when the number of units dead in a large set of units is greater than a certain number)

slmod.units_LOS (detect line of sight between two sets of units)

slmod.units_in_zones (detect when units are within a set of zones)

slmod.units_in_moving_zones (detect when units are within a moving zone around other units)

 

Flag manipulation functions:

slmod.rand_flags_on (randomly turn on a range of flags)

slmod.rand_flag_choice (randomly select a single flag to become true)

 

 

Attached to this post is the Slmod verison 6.0 quick reference guide- it's a little out of date as more functions have been added in the meantime, but all the information it has is still accurate.

 

Here are download links:

Download Slmod Version 7.0

 

Download Slmod Version 7.0 Manual

 

The manual should be fairly comprehensive, but let me know if you find typos or something I missed.

 

Installation is pretty easy-

NOTE: INSTALL DIRECTIONS HAVE CHANGED SINCE PREVIOUS VERSION

Installation Instructions:

0) Download and extract Slmod Version 7.0.

1) You should have a "Scripts" folder located in folder you extracted. Copy this folder in your C:/Users/<Your Account>/Saved Games/DCS/ folder.

 

Note: Slmod will not need to be reinstalled after an autoupdate, as long as it exists within Saved Games/DCS, it will

reinstall itself!

 

Configuration Instructions:

1) Start DCS Multiplayer. By the time you get to the Master Server login menu, a new config.lua file will be created in C:/Users/<Your Account>/Saved Games/DCS/Slmod/. Exit multiplayer.

2) Configure the new config.lua file as desired. IT WOULD BE SMART TO EDIT THIS FILE IN Notepad++!!!

 

Uninstallation:

1) Copy the MissionScripting.lua file out of C:/Users/<Your Account>/Saved Games/DCS/Scripts/net/Slmodv7_0/Original Files/,

then paste this file over your C:/Program Files/Eagle Dynamics/DCS World/Scripts/MissionScripting.lua file....

OR JUST DO A REPAIR VIA THE DCS AUTOUPDATER.

2) Delete the "Scripts" folder located in your C:/Users/<Your Account>/Saved Games/DCS/ folder.

 

Compatibility with other mods that use Scripts/net/server.lua (such as Servman or LOtAtc):

 

1) Install Slmod as normal, except DO NOT PASTE IN THE Scripts/net/server.lua FILE INCLUDED WITH SLMOD. Instead, copy lines 185 to 206 from the Scripts/net/server.lua file included with Slmod, and paste just those lines onto the end of whatever the other mod uses in place of the default server.lua (in Servman, that would be servman_server.lua, not sure about LotAtc). That should be all it takes.

 

HI to all,

I know it's a real "old" topic but I would like to create an 24/7 DCS server and this tool seams the best choose to have some function like autostart on player joining, some admin features, motd and stuff like that.

 

Unfortunately I try to install on two different computer and seams is not working. I think is not loaded at all the script.

 

Any Idea? I put the file in C:\Users\MyName\Saved Games\DCS\ as described in the installation but nothing happens.

 

Here is the content of my saved game folder:

paxR2I5KRD1Q9ZqkqqiL6DN6UtaaGK.png

And Script

Sw4oUS0aadYyypAHy269kusnyoGKgR.png

 

And after run first time the multiplayer server there is no the new config.lua file in C:/Users/MyName/Saved Games/DCS/Slmod

 

Any Idea or updated admin tools for the current 1.5.8 DCS World?

 

Thanks!

 

 

 

 

EDIT:

 

It was my fault, sorry!!!!

I take the 7.0 version on the first topic instead the 7_5 on git/hub ( here )

 

New Version seams works well! I'm Sorry.

 

P.S. Maybe it's better to change the first post, I see other people do the same "error" as mine.


Edited by Maverick87Shaka

FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen.

Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest

Support us on twitch subscribing with amazon prime account linked, it's free!

Link to comment
Share on other sites

HI to all,

I know it's a real "old" topic but I would like to create an 24/7 DCS server and this tool seams the best choose to have some function like autostart on player joining, some admin features, motd and stuff like that.

 

Unfortunately I try to install on two different computer and seams is not working. I think is not loaded at all the script.

 

Any Idea? I put the file in C:\Users\MyName\Saved Games\DCS\ as described in the installation but nothing happens.

 

Here is the content of my saved game folder:

paxR2I5KRD1Q9ZqkqqiL6DN6UtaaGK.png

And Script

Sw4oUS0aadYyypAHy269kusnyoGKgR.png

 

And after run first time the multiplayer server there is no the new config.lua file in C:/Users/MyName/Saved Games/DCS/Slmod

 

Any Idea or updated admin tools for the current 1.5.8 DCS World?

 

Thanks!

 

 

 

 

EDIT:

 

It was my fault, sorry!!!!

I take the 7.0 version on the first topic instead the 7_5 on git/hub ( here )

 

New Version seams works well! I'm Sorry.

 

P.S. Maybe it's better to change the first post, I see other people do the same "error" as mine.

 

In the latest versions of DCS, you need to add a "Hooks" folder inside the Scripts folder, and anything previously needing to be in Scripts, now needs to be in "Hooks"

"Through The Inferno"

Endless, Dynamic, Open-World Experience for DCS World
Link to comment
Share on other sites

In the latest versions of DCS, you need to add a "Hooks" folder inside the Scripts folder, and anything previously needing to be in Scripts, now needs to be in "Hooks"

Yes, as my EDIT note now I take the latest 7.5 from github and works fine. The 7.0 download from the first post of this thread is missing of "Hooks" folder.

 

This is the link where I found the 7.5 that I'm currently using: https://github.com/mrSkortch/DCS-SLmod/tree/develop

FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen.

Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest

Support us on twitch subscribing with amazon prime account linked, it's free!

Link to comment
Share on other sites

  • 1 month later...

Hi All

 

Looks like a great program but does this work with 2.5 at all?

Just installed 7.5 version and it seems to be working. However, It says that it will created a ServerAdmins.lua inside Saved Games/DCS/Slmod.

For some reason its not creating the ServerAdmins.lua as well when I type -admin add <XXX> to add an admin it will indicated that there is no registered user by that name.

 

Any help would be appreciated so thanks in advance

 

EDIT: Go figure as soon as I posted this I got it fixed. So disregard and thanks

 

 

Wood


Edited by Wood

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

  • 2 months later...

Getting a repeatable crash in 2.5.1.

 

Mission script error

 

string 'slmod.sendData()']:1: attempt to index global slmod (a nil value)

 

And after removing slmod, it won't install anymore.

 

The Slmod folder does not get created in DCS.openbeta.


Edited by fargo007

 

Banner EDForum2020.jpg

Have fun. Don't suck. Kill bad guys. 👍

https://discord.gg/blacksharkden/

Link to comment
Share on other sites

  • 2 weeks later...

Hi guys, I should prevent clients who are inside the server as spectators to be able to access F10 and "spy" the location of the enemy units.

 

Can I do this with SLmod?



[sIGPIC]https://forums.eagle.ru/signaturepics/sigpic128931_4.gif[/sIGPIC]

 

SO:Win10 64bit CPU:Intel i7 8700K@3.7 RAM:DDR4 46GB G.Skill Trident 3200MHz CL14 GPU:Nvidia EVGA GTX1080Ti FTW iCX MB:ASRock Z370 Extreme4 HDD:

512GB Samsung 970 PRO SSD M.2 NVMe + 250GB Samsung 850 EVO SSD + 2x500GB Seagate Barracuda 7200RPM

Link to comment
Share on other sites

Hi guys, I should prevent clients who are inside the server as spectators to be able to access F10 and "spy" the location of the enemy units.

 

Can I do this with SLmod?

The Sound of Silence... ...I think is not possible...



[sIGPIC]https://forums.eagle.ru/signaturepics/sigpic128931_4.gif[/sIGPIC]

 

SO:Win10 64bit CPU:Intel i7 8700K@3.7 RAM:DDR4 46GB G.Skill Trident 3200MHz CL14 GPU:Nvidia EVGA GTX1080Ti FTW iCX MB:ASRock Z370 Extreme4 HDD:

512GB Samsung 970 PRO SSD M.2 NVMe + 250GB Samsung 850 EVO SSD + 2x500GB Seagate Barracuda 7200RPM

Link to comment
Share on other sites

  • 1 month later...
The Sound of Silence... ...I think is not possible...

I think the current Slmod can't do it, maybe there is other "Slot Locking LUA script that can do it"

FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen.

Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest

Support us on twitch subscribing with amazon prime account linked, it's free!

Link to comment
Share on other sites

  • 4 weeks later...

Ban List not working?

 

Hey All,

 

The ban list seems to not be working with the latest version. I have a user who was banned via slmod, but 2 days later they are able to join the server. I look at the LUA file, and the user is banned by IP and by UUID, and I verfied the person in the server is the person with the same IP and the same UUID that is on the LUA, but they are some how still in the server.

 

I can provide the lua if desired, I'd prefer to keep it private to avoid drama.

 

The version is 7.2, I have not tried the dev 7.5 branch.


Edited by Kocrachon
Link to comment
Share on other sites

  • 3 weeks later...
Getting a repeatable crash in 2.5.1.

 

Mission script error

 

string 'slmod.sendData()']:1: attempt to index global slmod (a nil value)

 

And after removing slmod, it won't install anymore.

 

The Slmod folder does not get created in DCS.openbeta.

 

Fargo, were you able to find the problem?

I am having the same issue on my server and not sure why.

I loaded the mission the way slmod requires (C:\Users\xxxx\Saved Games\DCS.openbeta\Slmod\Missions )

 

The only thing I noticed is that the slmod folder(s) doesn't contain server.lua, which is supposed to be important according to "SPEED" comments on page 1.

Untitled.jpg.20b76900692b64263b380a180fe66b81.jpg

mission_test.miz

Slmod.txt


Edited by strikers_blade

My systems:

 

Windows 10 64 bits

I7-8700k

32.0 GB RAM

500Gb SSD

Asus ROG 2080ti

HP Reverb

 

Windows 10 64 bits

I7-6820HQ CPU @ 2.70Ghz

32.0 GB RAM

500Gb SSD

Nvidia Quadro M4000M

TrackIR 5

Link to comment
Share on other sites

@Kocrachon, use the development branch of slmod.

 

Game has to be running as admin. Speed no longer maintains slmod so his information may be inaccurate. The following is the thread that should be used for questions/issues/whatever.

 

https://forums.eagle.ru/showthread.php?t=155563

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...
  • 4 months later...
Has anyone been able to get SLMod to work with the new DCS beta sever? I see in the log where is loads but get in game and can't do any commands.

 

working fine for me, have it running on 3 instances with out any issues with the latest OB server.

i7 13700k, 64gb DDR5, Warthog HOTAS, HP Reverb G2 VR, win 11, RTX 3070

TGW Dedicated Server Admin, Australian PVE/PVP gameplay. (taskgroupwarrior.info/2020)

Link to comment
Share on other sites

FYI, should use this thread for latest issues and discussion: https://forums.eagle.ru/showthread.php?t=155563

 

As long as you see the following in the DCS.log, slmod should be fully load:

 

SLMOD INFO: SlmodTests.lua loaded.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

  • 3 years later...
  • Recently Browsing   0 members

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