Jump to content

davidp57

Members
  • Posts

    819
  • Joined

  • Last visited

Everything posted by davidp57

  1. Hi all ! I'm writing a script called Sanctuary; with this, a mission maker can define a zone (center+radius, or mist polygon) in which the players from a coalition are protected from the human players from other coalitions (some sort of safe zone). In this script, whenever a human lingers too long in the zone, I try and remove him from the game by using :destroy() on his unit. Also, when a human player fires a missile at another human in the zone, I try and :destroy() the weapon, too. This works very well for AI planes and their weapons, but not at all with humans in MP. Did any of you ever try to do this ? Could maybe our friend @BIGNEWY ping our beloved devs, and ask about this behavior ? It's one of the multiple instances where the API does not work in the same way in SP and MP. Thank you for reading, I hope someone will help me ! veafSanctuary.lua veaf-demo-mission_20210410-AI.miz veaf-demo-mission_20210410-MP.miz
  2. Hi, I can see that v0.12.0 is a pre-release. Is there a full release planned soon, or can we start the upgrade process (which is not trivial, as we've heavily integrated Perun with our information system) ?
  3. Cool ; I'll test on 2.7 when it's available, and report here. Thanks @BIGNEWY!
  4. I've asked for help from the dev team, let's hope they'll find out what happens on the server.
  5. Hi, dear ED programmers ! I'm the maintainer of a scripts library used by my squad in our missions. This library, among other things, allows for spawning units dynamically using map markers. I've read this post and updated my veafSpawn.lua script to make spawning FARPs possible. That's a dream come true, because I've been trying to do this for some time, without success. I think that recent changes in DCS code did something wonderful that allows FARPs to be spawned, thank you for this ! It's perfectly functional, I've made a small video to demonstrate. Unfortunately, it does not work in multiplayer. There is no error, no trace at all, nothing ; and no FARP is spawned. I tried with an invisible FARP, a single standard FARP, a quad FARP... nothing. It works perfectly in solo play, but not in multiplayer. Could someone from the dev team please help me understand what happens ? I'm stuck, I don't even know what happens on the server ; no message is logged - even in the trace log : log.set_output("dcs-trace", "", log.ALL + log.TRACE, log.MESSAGE + log.TIME_LOCAL + log.MODULE + log.LEVEL) I've attached a debug version of my mission with logging and tracing enabled. To test, simply run the mission, spawn in the UH-1H slot named "UH-1H test", go to the F10 map, create a map marker nearby and type `-farp` near your helicopter ; click outside of the map marker to validate your entry. The FARP should spawn (along with the required units, and decorative things). This only works solo. Thanks a lot ! Zip, VEAF. veaf-demo-mission_20210331.miz
  6. Which one, specifically ? I read the post where you explain how to add a shape_name to help spawn an invisible FARP (thanks, btw), but nothing about it not working (or, better, working) in multiplayer.
  7. Hi ! Good find, I've been trying to do this for a few years. I updated my spawn code (you can look here if you want) and I'm now able to spawn a fully functional FARP. The only problem is... IT DOES NOT WORK IN MULTIPLAYER ! The FARP simply does not spawn ! ARRRRRGH the disappointment ! Has any of you managed to spawn FARPs in MP ?
  8. Good find buddy thanks !
  9. Thanks @BIGNEWY. We eventually found out what had happened (or, to be honest, we suspect because we still have to be sure the deconnections have stopped). The router our friend used is the Freebox Delta, and this model can aggregate two WANs : a 4G network, and a vDSL network. The IP change was happening when the router switched from one WAN to the other.
  10. Just a new information : his ISP is "Free" (a french ISP) and they're known for sharing IPs between customers. Read this (translated) article. Also, his problems started a month ago, with a DCS update (he does not remember which one). Maybe it's a coincidence, but it's worth reporting.
  11. Hi, A friend of mine has a recurring problem on our server. After a while, he's getting kicked out of the game. I had a look in the log files and found out that his IP address changes during the game. I attached the partial log file. What could cause this problem ? And how can we solve it ? Can you help me please ? Thanks a lot ! maddog-problem.txt
  12. You're welcome ; holler if you need help. Of course, it's not as crisp as with, say, a G2. The video encoder part is setup to use a lower resolution than the one you can choose in the Oculus Software, I'd guess. Still, I had 72 fps (maxed out my refresh rate) with the same options that gave me 30 fps (half refresh) on the G2. If I crank the Pixel Density to 1.5 (which is huge if you ask me) I get 36 fps (half refresh).
  13. Thanks @USSR_Rik ; could you please explain a little bit more about what the extrapolator does, and specifically what the new one changes ? I'm willing to try it on our public server but not before I know what it's all about. Cheers, David.
  14. We found out how to correct the problem ; we set the pe_dataraw_payload type to MEDIUM TEXT, the limit is much higher (16MB) and it stopped complaining. The mission we run is heavy, so that's why the payload was huge.
  15. Well, I'm not an expert of web programming but I could help. In my humble opinion, it'd be better to rebuild the same logic using a technology we know (me, I'm more at ease with NodeJS and Java than Python, server-side). What do you think ? Do you want me to lend a hand ?
  16. Hi @VladMordock! Thanks for this program. I'm trying to use it on our server, and I get an repeating error on one of our servers. 2021-02-03 11:17:02 | Instance: 1 | X | > | 3 | ERROR MySQL - error id: 1406 2021-02-03 11:17:02 | Instance: 1 | X | > | 3 | ERROR MySQL - query: INSERT INTO `pe_DataRaw` (`pe_dataraw_type`,`pe_dataraw_instance`) SELECT '3','1' FROM DUAL WHERE NOT EXISTS (SELECT * FROM `pe_DataRaw` WHERE `pe_dataraw_type` = '3' AND `pe_dataraw_instance` = 1);UPDATE `pe_DataRaw` SET `pe_dataraw_payload` = @PAR_TCPFramePayload, `pe_dataraw_updated`='2021-02-03 11:16:54' WHERE `pe_dataraw_type`=3 AND `pe_dataraw_instance` = 1; 2021-02-03 11:17:02 | Instance: 1 | X | > | 3 | ERROR MySQL - error: Data too long for column 'pe_dataraw_payload' at row 1 I don't know what data is set in the @PAR_TCPFramePayload parameter, but it seems to be too long. I tried setting the pe_dataraw_payload column to VARCHAR(15000) but I still get the error. What can I try ?
  17. You could "simply" (I love this word ^^ ) make a webserver providing the same features as your tool, and anyone with any tablet or phone could access it easily (no need to code apps in multiple technologies).
  18. I flew yesterday with my Quest 2 (Oculus Link) and it worked well. Surprisingly I didn't even have to select the "unknow sources" thing. What I did : installed Oculus beta channel plugged in my Quest 2 selected "Oculus Link" in the Quest went to the "Desktop" in the PC Oculus to be able to see my PC desktop in the Quest ran the DCS Updater Utility (by Skatezilla) that I use to start DCS selected my VR profile in the utility started DCS with the utility And that's all...
  19. I'm using it in VR along with OVR Toolkit, and it's very cool to have a moving map in the Huey ! Thanks !
  20. Well, let's not pollute this thread with that kind of petty discourse. I take this last chance you generously give me as an occasion to explain myself, then I'll properly shut up and never talk about it again. In my original reply, I said two different things : a smart tip about using PD and SS to achieve the same result with better performance a language lesson about writing words the way one hears them instead of the way they're written by Merriam Webster I was proven wrong for the first part ; thanks to @imackenfor that, I stand corrected, and it'll help me get better perfs on my DCS VR (which is, incidently, the goal of this thread, if I'm not mistaken). And unless you prove it to me, I was not wrong by saying that it's difficult to use a hanger to store a plane. So, I don't know what you want from me, and where you see sarcasm. Any way, if by "manners make man" you mean that I should apologize to you, you could not be more wrong... Any way, peace, love, and fox 3 Zip out.
  21. That one was correct, wasn't it ?
  22. No, what should I have to add ?
  23. Ah, this explains that. I was so proud of my smart tip Thanks for the heads-up, friend.
×
×
  • Create New...