domistyle 221 Posted February 27, 2013 (edited) I finally got enough time to include automated messages in DaRT.I even took it a little bit further and included a little script language into DaRT which enables you to do schedulers like with BEC but via RCon and with more options.Beside that DaRT can also execute 1 single command via parameters if you don't want to fiddle with the scripts.You also have the possibility to loop scripts so it either loops a few times or forever.You can see a example script below and what it can do.// exec= allows you to execute RCon commandsexec=say -1 This is a test for scripts in DaRT!exec=say -1 Waiting for 5 seconds...// wait= causes DaRT to wait the specified amount of time in mswait=5000// You can use %p to display the amount of online playersexec=say -1 There are %p players online.// You can use %b to display the amount of banned playersexec=say -1 %b players are banned from this server.// You can use %a to display the amount of online adminsexec=say -1 %a admins are currently online!// You can use %r to get a random player nameexec=say -1 Random player: %r// kickAll will kick everyone on the server// The reason is optional.kickAll=Kicked everyone!// banAll will ban everyone from the server// The reason is optional.banAll=Banned everyone!// You can also use if to only display messages if a certain requirement is met// You can also use %p, %b, ... hereif %p > 0:exec=say -1 %p players are online! =)// You can also use this to kick everyone as soon as more than 20 players are on the server...if %p > 20:kickAll// ...or lock the server once 20 players are online...if %p > 19:exec=#lock// ...and unlock it again once population is under 20 againif %p < 20:exec=#unlock// You can also use an else statement for locking/unlocking the server like thisif %p > 19:exec=#lock:exec=#unlock// You can use %l to access the loop #// Looped 4 times means it got executed 1 + 4 times. Total of 5.exec=say -1 Looped %l times// This will cause DaRT to quit the scriptquitFeedback and feature requests are welcome.For people having problem with the if part:if %p > 19:exec=#lock:exec=#unlockThat should make reading it easier.Basically it is:if requirement:then:elseelse is optional of course. Edited February 28, 2013 by DomiStyle 1 Share this post Link to post Share on other sites
Kelbikes 0 Posted March 1, 2013 Hi sorry this may seem seriously stupid, but really im not that good when it comes to downloading and installing and files and all that stuff, ive downloaded the framework and the files, but from there im completely stuck? i have no idea what to do... Share this post Link to post Share on other sites
strider77 18 Posted March 1, 2013 Don't know if this is server side or Dart side, but lately my admin chat going through Dart takes an extremely long time to show in-game, if it even shows up at all. Share this post Link to post Share on other sites
domistyle 221 Posted March 1, 2013 Hi sorry this may seem seriously stupid, but really im not that good when it comes to downloading and installing and files and all that stuff, ive downloaded the framework and the files, but from there im completely stuck? i have no idea what to do...Did you execute the DaRT.exe?Don't know if this is server side or Dart side, but lately my admin chat going through Dart takes an extremely long time to show in-game, if it even shows up at all.Are you streaming logs via RCon? Share this post Link to post Share on other sites
strider77 18 Posted March 2, 2013 Are you streaming logs via RCon? I don't think so? Am not entirely sure... Share this post Link to post Share on other sites
Kelbikes 0 Posted March 2, 2013 Did you execute the DaRT.exe? Not sure how to? I really have no clue with these things but unfortunately I absolutely need this for my server Share this post Link to post Share on other sites
Kelbikes 0 Posted March 3, 2013 Did you execute the DaRT.exe?I executed it, i got it working then when i turned my computer off and then back on it stopped working, it now wont let me open in? when i click run it just spins then stops and does nothing? Share this post Link to post Share on other sites
MildewyTaco 0 Posted March 3, 2013 Newb question here. Where can I set my rcon password? I have looked up and down all the files I can find but seem to be missing where the rcon password is.Please help. Share this post Link to post Share on other sites
thecure941 1 Posted March 3, 2013 I banned myself on accident and I can't find how to unban myself... Help? Share this post Link to post Share on other sites
MildewyTaco 0 Posted March 3, 2013 Nvm I figured it out. I don't know how I missed it last time lol. Share this post Link to post Share on other sites
domistyle 221 Posted March 6, 2013 DaRT v0.9 is out.Check first post for download and changelog or download it here.http://forum.swisscraft.eu/DaRT/DaRT.zip Share this post Link to post Share on other sites
R.J. 70 Posted March 7, 2013 How do you add the automated messages? Share this post Link to post Share on other sites
SilentKnight45 0 Posted March 7, 2013 Hosting with Dayz.st and when I go to login with DaRT I get this message:[2013-03-06 | 18:48:52] Connecting to ya.you.wish.I.would:POSTMYIP[2013-03-06 | 18:48:52] Login invalid!Entered my password a dozen times and double checked IP. Still a no go. I am a noob to hosting to so it could be something I am doing Share this post Link to post Share on other sites
domistyle 221 Posted March 7, 2013 (edited) How do you add the automated messages?You can use a single command or a script.Just add a shortcut to DaRT or use a batch file.To execute a single command:DaRT.exe -ip="127.0.0.1" -port="2302" -password="password" -command="say -1 This is a test from DaRT console mode =)" -output="output.txt" -close-ip: Specify your server ip address here-port: Specify your server port here-password: Your port-command: The command you want to execute-output: If you want to save the output to a file, add it here. You can use this to read the player list or similar.-close: Will close the window after executing the file. If you do not add this parameter it will wait for you to quit.To execute a script:DaRT.exe -ip="127.0.0.1" -port="2302" -password="password" -script="script.txt" -output="output.txt" -loop="0" -close-script:Path to your script file-loop: Loop mode (-1 = Infinite loop, 0 = Don't loop, 1 = Loop 1 time, 2 = Loop 2 times and so on)Instead of using the -command parameter you use the -script parameter here.After that you create a file in the same folder as your DaRT.exe name it script.txt.In the script.txt you can specify whatever you want to do with it.exec=say -1 This is a test from DaRT script modewait=5000exec=say -1 There are %p players online!exec=say -1 There are %b players banned!exec=say -1 There are %a admins online!exec=say -1 You can also use %r to choose a random online player!exec=say -1 This script does not loop, but if it would you could use %l to access the loop #wait=5000exec=say -1 This will lock your server if more than one player is online.if %p > 0:exec=#lock:exec#unlockwait=5000exec=say -1 This will output only if more than 1000 players are banned.if %b > 1000:say -1 Wow, we got over 1000 players banned!wait=2000exec=say -1 Will kick everyone from the server in 5 seconds!wait=1000exec=say -1 1...wait=1000exec=say -1 2...wait=1000exec=say -1 3...wait=1000exec=say -1 4...wait=1000exec=say -1 5...exec=kickAllAfter that just start the shortcut/batch file and the command/commands will get executed.Tell me if you need any help.Hosting with Dayz.st and when I go to login with DaRT I get this message:[2013-03-06 | 18:48:52] Connecting to ya.you.wish.I.would:POSTMYIP[2013-03-06 | 18:48:52] Login invalid!Entered my password a dozen times and double checked IP. Still a no go. I am a noob to hosting to so it could be something I am doingDid you set your password in beserver.cfg?The password in your server.cfg is not your RCon password! Edited March 7, 2013 by DomiStyle Share this post Link to post Share on other sites
R.J. 70 Posted March 8, 2013 Seems a little complicated for my limited skills. I managed to have BEC loop messages which was fairly easy. I don;t understand this:To execute a script:DaRT.exe -ip="127.0.0.1" -port="2302" -password="password" -script="script.txt" -output="output.txt" -loop="0" -close-script:Path to your script fileWhere does this go and how do I set it up?Also, the latest version gives an error when trying to ban players from the player database. You have to manually copy the guid and use execute to manually apply the ban.Overall, I still like Dart more than any other Rcon tool out there. 1 Share this post Link to post Share on other sites
domistyle 221 Posted March 8, 2013 Seems a little complicated for my limited skills. I managed to have BEC loop messages which was fairly easy. I don;t understand this:To execute a script:DaRT.exe -ip="127.0.0.1" -port="2302" -password="password" -script="script.txt" -output="output.txt" -loop="0" -close-script:Path to your script fileWhere does this go and how do I set it up?Also, the latest version gives an error when trying to ban players from the player database. You have to manually copy the guid and use execute to manually apply the ban.Overall, I still like Dart more than any other Rcon tool out there.It's simple.Just create a new shortcut to DaRT and attach the parameters from above to it.You can do this by going to the settings of the shortcut and attach the parameters under target after DaRT.exe.The alternative is to create a .bat file in the same folder as DaRT and put the above code in it.When you execute the shortcut or the bat file it will execute the script you specified with the settings you chose.I will take a look at the crash. Thanks for reporting. Share this post Link to post Share on other sites
Andrakann 52 Posted March 8, 2013 (edited) I have problem - when i say in global by russian, cyrillic symbols printed ingame like: "???? ?? ?????" - i think it's codepage problem, so can i change DaRT output codepage in config or by other way?ArmA2Rcon prints cyrillic messages normally, but DaRT is better for me. Edited March 8, 2013 by Andrakann Share this post Link to post Share on other sites
domistyle 221 Posted March 8, 2013 I have problem - when i say in global by russian, cyrillic symbols printed ingame like: "???? ?? ?????" - i think it's codepage problem, so can i change DaRT output codepage in config or by other way?ArmA2Rcon prints cyrillic messages normally, but DaRT is better for me.There currently is not but expect a fix with v0.9.1.Should come out in a few days. 1 Share this post Link to post Share on other sites
TayTayTheKiller (DayZ) 4 Posted March 11, 2013 On v0.9 trying to ban a GUID in the player list (right click on player name ban GUID) gives error "An error occurred, please try again."Server is on dayz.st if that makes any difference. Share this post Link to post Share on other sites
domistyle 221 Posted March 11, 2013 On v0.9 trying to ban a GUID in the player list (right click on player name ban GUID) gives error "An error occurred, please try again."Server is on dayz.st if that makes any difference.Already fixed in next version. Share this post Link to post Share on other sites
ziellos2k 35 Posted March 16, 2013 Can we have some sort of alert filters? Like if someone says admin in chat it'll start flashing in the taskbar. :lol: Share this post Link to post Share on other sites
domistyle 221 Posted March 16, 2013 (edited) Can we have some sort of alert filters? Like if someone says admin in chat it'll start flashing in the taskbar. :lol:Sure. Will be in the next version.Also: Download link is down at the moment incase anyone is wondering.I am working on getting it back online.edit: Download is back up! Edited March 16, 2013 by DomiStyle Share this post Link to post Share on other sites
Aurelius_O 1 Posted March 17, 2013 (edited) While I had noticed that previous posts had been made about flags and country codes being mixed incorrectly (ca. August '12 correction, December '12), I figured I would post it again. Sorry if this is a continuing issue that was never fixed, but I did not see anything recently posted and assumed that it might have been resolved. In particular, my DaRT is confusing Americans and Canadians. I am using v0.9.Again, sorry if this is truly a duplicate report. Edited March 17, 2013 by Aurelius_O 1 Share this post Link to post Share on other sites
domistyle 221 Posted March 17, 2013 While I had noticed that previous posts had been made about flags and country codes being mixed incorrectly (ca. August '12 correction, December '12), I figured I would post it again. Sorry if this is a continuing issue that was never fixed, but I did not see anything recently posted and assumed that it might have been resolved. In particular, my DaRT is confusing Americans and Canadians. I am using v0.9.Again, sorry if this is truly a duplicate report.Hmm...didn't have that problem for a while.Will take a look at it. Share this post Link to post Share on other sites
Renwault 1 Posted March 18, 2013 Is there anyway to turn off the news part at the top of the program, seems trend micro thinks that the site is bad and blocks the program from running. 1 Share this post Link to post Share on other sites