Jump to content

astazou

Members
  • Posts

    189
  • Joined

  • Last visited

Everything posted by astazou

  1. I need to have the log before to see what's going on. Probably a problem of special character? (?!/\|'&"...) Tell me when you find it and I'll see to correct it
  2. Hi, Let's answer. 1) What I use on my side, is a windows script which is shutting down, the bot, DCS, SRS, restart the bot (to have the offline info) and then shutdown the server TASKKILL /F /IM SR-Server.exe TASKKILL /F /IM node.exe timeout /t 10 TASKKILL /F /IM DCS_server.exe timeout /t 15 cd "C:\botDBS" pm2 start index.js timeout /t 10 shutdown -s -f -t 3 More info' here: 2) It shows the mission time since the mission started. What you ask is technically possible but I didn't want to have a loop/while check if there is nothing new on the server, to avoid the bot to spam the Discord API. What I do on my server, I keep only the server "resume when client connected". 3) I don't understand the problem. The problem is sometimes you see the path? If yes, it's not a big issue. The problem is the mission name is not changing when you change mission? It changes for me.
  3. If the bot it started, you can't run it again until it's stopped. unable to send => Are you sure about the rights of the bot? On the Discord and on the channels? I gave you URL from Github, weird, here is the same screen from Discord => https://cdn.discordapp.com/attachments/559138601573548052/1103554191584149536/image.png Keep us in touch See ya
  4. Kon'nichiwa @Nishiyandcs4, Don't worry, your english is more than good enough (and I'm really not perfect neither ) I read "Unknown Message" and a 404 status. It means you made an error on an ID. Can you re-check your IDs according to this draw? BotID (green) : ID of the bot channelTchatID (pink) : ID of the channel where you are connected with events (and in-game tchat) of the simulator. channelLiveID (blue) : ID of the channel where the bot will display the data about the server (name, password, players online, version, etc....) messageLiveID (yellow) : ID of the message of the bot after your made "!init" for the bot to get his message If those 4 IDs are correct, it will work Oh, and @Snoopy tested the bot with several DCS instances, it's working! Thank you again for the test You "just" need to duplicate the number of bot and redo the same. Enjoy
  5. Hello mission editors, I added a new script to remove craters, wreckages or debris after a player crashed in zones. Enjoy!
  6. Hello, I did the migration yesterday switching to dcs_server.openbeta, and it's working very well! Thank you ED for this very useful update Asta☠
  7. Thank you For the hangar, I installed the mod (link in the .zip), then, I replaced the "ukrytie" by the name of the hangar mod, I adjusted the position and the scale, and it works You can read the sceneVR.lua to see how I imported models, placed them, rotated them, etc... see ya
  8. Hello, Thank you for all your sharing, with all those example I made mine: https://www.digitalcombatsimulator.com/fr/files/3330144/ see ya
  9. Hey, just saw your edit messages 1) Yes, you can "hard code/write" the IP adress with the bot, line 196, or close, at this line: messageToShow += str_DCSip+"**"+myIP+":"+linesDCSConf[i].split("[\"port\"] = ")[1].split(",")[0]+"**\n"; you can replace the variable "myIP" by an IP adress (for example here: 123.123.123.123): messageToShow += str_DCSip+"**"+"123.123.123.123"+":"+linesDCSConf[i].split("[\"port\"] = ")[1].split(",")[0]+"**\n"; 2) Sure, I'm doing it myself, I use Windows task scheduler to run a script starting the bot, I recommend you to have a look here: See ya
  10. Hi, With this screen it should help: Blue: ID of the Discord channel "live" (where you have the technical info' from your server) Yellow: ID of the message in the channel "live" (you need to make it appears first using !init) Purple: ID of the channel "tchat" (where you can talk between Discord and the DCS ingame tchat and also see the events (connections, slot, takeoff, ...)) Green: ID of the bot.
  11. Hi @Snoopy, I just uploaded all the images directly on Github, it will be fine now
  12. Hey, The best away is to click the "release" button link and download the zip (as for the A4 mod and SRS) you can also hit the green "< > Code" button to download the project. See ya
  13. Hello DCS servers admins Today is the day, I just released my bot! You'll find here the instructions and the files to download it: https://github.com/frasta/DCS-Discord-bot I hope you'll enjoy it see ya
  14. Ok, I've now a better solution for the link between the ingame chat and the the Discord channel I'm gonna push it to a friend for test purpose, if everything is fine, I'll write a guide and I'll publish it
  15. Hello, Almost 4 years ago I did a Discord bot to share to players what is the current mission on the server, mission time (to see if it's day or night), and even see who is flying on a server without need to start DCS. So I did something using Node.JS + Discord.IO. But it's not a very neat solution because it means each server owner needs to create and host his own Discord. The best solution would be ED to has his own Discord bot because all those data are already available: Then, only one bot would be existing, and server owners wouldn't need to host their own Discord bot to connect their server to their community Discord. Of course I opened to ED a ticket to see if there were interested (maybe 3 year ago?), at this moment we didn't give a next. I continued to develop my bot, I shared a bit more information, server's password, SRS version and parameters for example. But those data would not be accessible from a ED server (I guess, but I may be wrong): But one day, the Discord.io framework wasn't supported anymore, so I had a redo a part of the bot, but the bot was still working, even today is still working, so I postponed a lot before redoing the bot. In the same time, I saw other Discord bot for DCS, for examples https://github.com/DCS-gRPC/Custodian or https://github.com/Special-K-s-Flightsim-Bots/DCSServerBot , but it wasn't the same language (remember, I basically choose NodeJS) and it wasn't the functional possibilities I was looking for. I don't really want to manage my DCS server, I prefer to create more "social" interactions between the DCS server and the Discord server. The last months, I finally re-did the entire bot to migrate from Discord.io to Discord.js and I also redid the lua part. Now, the current bot is sharing more data, and I called it : DIGITAL BOT SIMULATOR The server automatically says when the DCS server is OFF: And I also create a channel to follow what's happening in the mission, as you can see, I can share lot of events : During a dogfight we can see: And sometimes an accident: For now, I share almost everything, but I'll make an easy true/false panel to let the admin chooses what he wants to share on the Discord. I'm also trying to find a solution to talk from the Discord channel to the in-game DCS chat. I already did something working with the old bot, still also working: But the technical solution wasn't very clean, so I prefer to investigate and see if I can do something better. If you want to see the bot running, you can have a look on my Discord server: https://discord.gg/ZUZdMzQ . For now I'm still working on it, but yes : I plan to make it available pushing it to Github with a guide for any admins to download it and use it on it's own server. I just don't know when. If you have any questions, please, do it in a public place (on this topic or in a public channel on a Discord, you can also find me on the official DCS Discord server or on the modding hub Discord server) ). I don't want to answer in private because your question(s) could interests other players. See you soon Asta☠
  16. Update for the "no shoot zone" script, I had to move the explosion behind the center of the plane of 2 meters to avoid the pilot to be killed (it was causing a crash in rare cases on the BS3)
  17. Hello, here is what my new dedicated DCS World server looks like with all its automated implementation. - During the week, start at 3:00 PM. - On weekends, start at 10:00 AM. - And shut down at 2:00 AM every day. (I'm on Paris time) Why these hours? Because I did some statistics and based myself on the time slots where there were the most connections. > Number of connections per day cumulated over two months by time slot < With this, I reduced the server's running time by approximately 50%. I naturally reserve the right to change the hours What did I need to do this? - Modify the bios so that the PC starts as soon as there is power ( "Restore on AC/Power Loss" to put on: "Power On"). - To start DCS and SRS, I just do that: - Two scripts, one to launch the Discord bot (if you have one) and the other to shut down DCS, SRS and the PC before the timer cuts off the power. I put them in attachment - The Windows Task Scheduler, my configuration looks like this: ) - A plug timer (I use a Novkit TE02) With all that, you're autonomous if you need inspiration! If you have other specific questions about your equipment, you'll need to search the documentation of your equipment, on Google (or on ChatGPT). For other question, please ask here, or any other public place, but no PM/DM, questions could interest other people Can we say that the server is now eco-friendly? Happy virtual flights. Asta☠ My Discord: https://discord.gg/ZUZdMzQ scripts_server.zip
  18. According to players doing that for their client DCS, no problem with updates. if I've a problem at the next update, I'll tell you (if no message, it means it's good ) And yes, that's why I saied "if you have an old SSD/HDD". The solution isn't perfect and isn't possible for everyone, I know, but it still interesting enough to be shared. In my case, I use a HDD from my first laptop, 2007, 15 years old, it's 120Go, not a lot, but enough to make my server working again. So I formated it and I pluged it to my server
  19. Guys, there is a temporary solution if you have an old HDD/SSD somewhere in your house. Working like a charm for me. Solution shared by Robert de Vries on the ED's Discord, thank you again if you read me Robert de Vries!
  20. Hello, Small news from Bignewy saying it's in progress, so we need to be patient if you want the source's link: https://discord.com/channels/542985647502393346/724903980198789170/1053608650570215424 (ED's Discord)
  21. Hello à tous, Petit partage de la dernière vidéo de Sklang qui interview, en français, le développeur de Tacview : Vyrtuoz ! La vidéo : Son origine, son histoire, les coulisses de l'appli', comment se passe le dév', etc... N'hésitez pas à partager autour de vous, c'est susceptible d'intéresser vos amis/groupes/escadrons de vol ++
  22. Hello à tous, Petit partage de la dernière vidéo de Sklang qui interview, en français, le développeur de LotAtc : DArt ! La vidéo : Son origine, son histoire, les coulisses de l'appli', comment se passe le dév', etc... Peut être de quoi faire découvrir le monde du contrôle et/ou LotAtc à certains d'entre vous ? N'hésitez pas à partager autour de vous, j'ai beau être abonné à cette chaine, Youtube ne l'a pas mis en avant. Donc à vous de la diffuser à votre entourage si c'est susceptible d'intéresser vos amis/groupes/escadrons de vol ++
×
×
  • Create New...