-
Posts
819 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by davidp57
-
Intéressant, merci !
-
Thanks for the help, it works now ! I had not deployed the development branch, that was probably the cause of the looping alert with no mission reload happening. Also, thanks for the explanations, everything is crystal clear !
-
Thank you Grimes for your help ; it's pretty clear now ! Still, there is something that does not work as I thought it should. Maybe it's a bug, maybe it's just me not using SlMod correctly. After a vote, the server should reload the chosen mission but it simply says it will without actually doing it : Also, the "-vote list" does not show all the (6) missions in the configured folder, but only 3. Edit: this is repeated in the log file : 2020-03-14 20:08:43.597 INFO LuaNET: SLMOD ERROR: slmod.scheduleFunctionByRt, error in scheduled function: [string "C:\Users\veaf\Saved Games\public_server\Scripts/net/Slmodv7_5/SlmodVote.lua"]:190: attempt to index field '?' (a nil value)
-
MP - dedicated server on 2.5.6 - 2:30 minutes to get a slot
davidp57 replied to davidp57's topic in Multiplayer Bugs
I've made some tests and I found out that, when the first user connects to a fresh 2.5.6 server, this is output in the client log (even before choosing a slot) ; and if the user chooses a slot right away, he has to wait for these message to finish their business before getting his slot. 2020-03-13 13:17:42.525 DEBUG Scripting: make: country: 0 2020-03-13 13:17:42.525 DEBUG Scripting: Phrases make : key = 4250 2020-03-13 13:17:42.525 DEBUG Scripting: make: country: 0 2020-03-13 13:17:42.525 DEBUG Scripting: Phrases make : key = 4256 2020-03-13 13:17:53.908 DEBUG Scripting: make: country: 2 2020-03-13 13:17:53.908 DEBUG Scripting: Phrases make : key = 3 2020-03-13 13:17:53.908 DEBUG Scripting: Phrases make : key = 4250 2020-03-13 13:17:54.322 DEBUG Scripting: make: country: 0 2020-03-13 13:17:54.322 DEBUG Scripting: Phrases make : key = 4250 2020-03-13 13:18:06.302 DEBUG Scripting: make: country: 0 2020-03-13 13:18:06.302 DEBUG Scripting: Phrases make : key = 4251 2020-03-13 13:18:08.886 DEBUG Scripting: make: country: 2 2020-03-13 13:18:08.886 DEBUG Scripting: Phrases make : key = 3 2020-03-13 13:18:08.886 DEBUG Scripting: Phrases make : key = 4251 2020-03-13 13:18:13.940 DEBUG Scripting: make: country: 2 2020-03-13 13:18:13.940 DEBUG Scripting: Phrases make : key = 2 2020-03-13 13:18:13.940 DEBUG Scripting: Phrases make : key = 4250 2020-03-13 13:18:15.765 DEBUG Scripting: make: country: 0 2020-03-13 13:18:15.765 DEBUG Scripting: Phrases make : key = 4250 2020-03-13 13:18:16.383 DEBUG Scripting: make: country: 2 2020-03-13 13:18:16.383 DEBUG Scripting: Phrases make : key = 1 2020-03-13 13:18:16.383 DEBUG Scripting: Phrases make : key = 4250 2020-03-13 13:18:20.774 DEBUG Scripting: make: country: 2 2020-03-13 13:18:20.774 DEBUG Scripting: Phrases make : key = 3 2020-03-13 13:18:20.774 DEBUG Scripting: Phrases make : key = 4250 2020-03-13 13:18:20.834 DEBUG Scripting: make: country: 2 2020-03-13 13:18:20.834 DEBUG Scripting: Phrases make : key = 2 2020-03-13 13:18:20.834 DEBUG Scripting: Phrases make : key = 4251 2020-03-13 13:18:21.326 DEBUG Scripting: make: country: 0 2020-03-13 13:18:21.327 DEBUG Scripting: Phrases make : key = 4251 2020-03-13 13:18:23.029 DEBUG Scripting: make: country: 2 2020-03-13 13:18:23.030 DEBUG Scripting: Phrases make : key = 1 2020-03-13 13:18:23.030 DEBUG Scripting: Phrases make : key = 4251 2020-03-13 13:18:26.211 DEBUG Scripting: make: country: 2 2020-03-13 13:18:26.211 DEBUG Scripting: Phrases make : key = 3 2020-03-13 13:18:26.211 DEBUG Scripting: Phrases make : key = 4251 2020-03-13 13:18:33.419 DEBUG Scripting: make: country: 2 2020-03-13 13:18:33.419 DEBUG Scripting: Phrases make : key = 1 2020-03-13 13:18:33.419 DEBUG Scripting: Phrases make : key = 4250 2020-03-13 13:18:39.316 DEBUG Scripting: make: country: 2 2020-03-13 13:18:39.316 DEBUG Scripting: Phrases make : key = 1 2020-03-13 13:18:39.316 DEBUG Scripting: Phrases make : key = 4251 2020-03-13 13:18:51.190 DEBUG LuaGUI: --- onChatMessage--- NEUTRAL player VEAF_Zip occupied BLUE A-10C nil -
Vote system Hello, I'm struggling to understand how the voting system in SlMod works. Is there any documentation regarding the RTV and vote systems ? I read the manual but I still don't undertand how to use this.
-
Check when last client disconnect from a server
davidp57 replied to chromium's topic in Mission Editor
@chromium thanks, this is a very interesting script. The way you use the onTriggerMessage callback is really clever ! Do you know of a way of actually restarting the server process instead of "simply" reloading the mission ? I'll probably end up using some of your code in a script of my own, if you're ok with it ! -
Check when last client disconnect from a server
davidp57 replied to chromium's topic in Mission Editor
Same here ! -
Nice, welcome back !
-
Is this in the F18 ? If yes, that's normal : the trim is slow (that's the normal trim speed, in flight, as in any plane) and it is sped up with weight on wheels and the flaps set to half. The goal is to quickly setup a takeoff trim on the catapult.
-
Well, they should. And in my Ka-50, they are !
-
Hi Targanon, The mission file (.miz) written by DCS mission editor is actually a ZIP archive containing lua files (and more). The main lua file is aptly named mission and contains a huge lua table describing all the objects in the mission. Unfortunately, LUA tables have no inherent order; therefore each time even a small modification happens in the editor, the mission file is shuffled randomly, making it almost impossible to see what was actually changed in the mission. This process of generating a report showing the difference between two versions of a file is very important in version control. This shuffling makes merging work from different sources impossible. We at VEAF have developped a set of tools, including a script that sorts the lua table in the mission file according to arbitrary rules. This way, when something is changed in the editor, the (sorted) file can be compared with the (sorted) previous version and it is easy to see what has changed. You can read more about this here.
-
Hello, I've made a few tests and, on our open server always running the same mission, there is a huuuuuuge difference between a 2.5.5 server and a 2.5.6 server. When connected to the server, if I clic in the slots list to get in a plane, on 2.5.5 it takes about 2 seconds, and on 2.5.6 a whopping 2:30 minutes ! This is on the first client taking the first slot, and it happens systematically everytime the server or the mission is restarted. Taking a second slot is done quicker : 14 seconds (vs 0 in 2.5.5). There is something weird in 2.5.6 Multiplayer. Do you need something to understand what happens ? There is nothing interesting in the log files.
-
Actually, the mission file is one of the files that gets modified when saving in DCS editor. The data in the table is not always sorted in the same way, therefore it's difficult to diff correctly from one update to the next. Our normalizer sorts the data arbitrarily before saving it in the lua file.
-
Actually, the problem with cooperative editing is that, each time you save the mission in the DCS editor, the lua files inside the .miz get shuffled (lines change their order, ids change, etc.) That's why we introduced a normalizer in our workflow. Then, once the mission is normalized, you can save it as a different name, copy it to a cloud, backup it, or store it on a version control system such as git ; name your poison ;)
-
We've got cat problems on our servers at VEAF as well : difficulties to hook up on the cat, blackouts when being launched (litterally, in the sky) and lots of server crashes. Rolled back.
-
Dedicated server log is full of messages ending "can't find proto"
davidp57 replied to danvac's topic in Multiplayer Bugs
Well, not sure it's related to this log filling bug report (although these messages appear in our logs) but the servers at VEAF did crash every 10-20 minutes even when there were only two players online. We rolled back too. -
Yeah, this has been happening for a while (2+ years) It depends on the camera angle (I know, it's weird)
-
Don't you think (or even hope, as do I) that this Ka50 "revamp" will attract new pilots to the Shark ?
-
HEADQUARTERS - massively improved fast mission generator
davidp57 replied to cercata's topic in DCS Modding
In (sorry, in french), he says that he's not worked on this project for two months but still has plans for it. -
https://veaf.github.io/VEAF-Mission-Creation-Tools/
-
Here : function respawnMyGroup(groupName, position) -- prepare the respawn local vars = {} vars.gpName = groupName vars.name = groupName vars.route = mist.getGroupRoute(vars.gpName, 'task') -- copy the original group route, too vars.action = 'respawn' -- respawn vars.point = position -- new respawn position local newGroup = mist.teleportToPoint(vars) -- would be the same with cloneGroup -- do something with the new group - e.g. get its name and print if of trigger.action.outText("respawned "..newGroup.name) end -- respawning my little poney in 5 seconds local groupName = "myLittlePoney" local groupPosition = {x=0,y=0,z=0} -- do something meaningful, not 0 0 0 mist.scheduleFunction(respawnMyGroup,{groupName, groupPosition},timer.getTime()+5)
-
I don't understand ; what do you mean "points 2, 3 and 4 are not compatible" ?
-
Server Description - How to add a line feed
davidp57 replied to McTschegsn's topic in Multiplayer Server Administration
In lua, the easiest way to enter formatted text (a.k.a. raw text) is by using double brackets. Example : local myLongString = [[This is a very long string with some weird characters \\ \ \\\ and a few carriage returns]] This will put the following text in myLongString : This is a very long string with some weird characters \\ \ \\\ and a few carriage returns -
Calling ALL Budding Voice Actors
davidp57 replied to SUNTSAG's topic in User Created Missions General
Hi Suntsag, sorry but I'd missed your thread. I can do french (native) and badly accented english (french ^^) -
I don't know why it does not work on your side, but I can assure you that a space in the group name is no problem for DCS nor for MiST. If you'd attach your mission file I could take a look. The mist.cloneGroup function will return the name of the new group. You cannot as far as I know. However you can write a function that calls mist.cloneGroup and uses the resulting group name it returns, and schedule this new function with mist.schedule. Easy : schedule your next action with the mist.schedule function a few seconds later.