ArmA 3 Server mods [still] not showing?



  • Heya all,
    I wasn't playing for a long time because I was always searching for servers that had an equal flavor as I have.
    But due to loosing hours over hours I simply quit playing anything at all (mp wise).

    Now my question is, did BI still find no way to give a list of mods running on a server?
    (I think i do remember before, the problem was some 255chars limitation not sending the whole modlist, but then I think it was totally away?)
    Or is it just me who is blindly looking at the wrong places?

    If this problem really still exists, I created a powershell script which reports arma3server instances and mods.
    It sends the port and mods of instances to some webserver.
    Webserver saves/updates server address, port and mod. Then, you would be able to combine the server ip + port of play with six with the modlist.

    The only problem is, server admins need to let this script run every ~15min (or whenever the server instance restarts).
    A script as I made with powershell would be no problem with linux I guess. (Perhaps even easier)

    [font=Lucida Console][color=#ff4500][size=1]$url[/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"http://registerPostToDb.php"[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$app_name[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"arma3server"[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$ErrorActionPreference[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"Stop"[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$body[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]""[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$arr_uri[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1]uri[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]]::[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]EscapeDataString([/size][/font][/size][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"[]"[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]);[/size][/font][/size][/font]
    [font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1]foreach[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] ([/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$inst[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1]in[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#0000ff][size=1][font=Lucida Console][color=#0000ff][size=1][font=Lucida Console][color=#0000ff][size=1]Get-WmiObject[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8a2be2][size=1][font=Lucida Console][color=#8a2be2][size=1][font=Lucida Console][color=#8a2be2][size=1]win32_process[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#000080][size=1][font=Lucida Console][color=#000080][size=1][font=Lucida Console][color=#000080][size=1]-Filter[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"name like '%[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$app_name[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]%'"[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1])[/size][/font][/size][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1]{
    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1]try[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1] {
    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1]if[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] ([/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$inst[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]CommandLine[/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Contains([/size][/font][/size][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"-mod="[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]))[/size][/font][/size][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1] {
    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$mods[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$inst[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]CommandLine[/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Substring([/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$inst[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]CommandLine[/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]IndexOf([/size][/font][/size][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"-mod="[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]) [/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]+[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#800080][size=1][font=Lucida Console][color=#800080][size=1][font=Lucida Console][color=#800080][size=1]5[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1])[/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Trim([/size][/font][/size][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]'"'[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1])[/size][/font][/size][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1] }
    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1]else[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1] {
    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$mods[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]""[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1] }
    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$port[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] ([/size][/font][/size][/font][font=Lucida Console][color=#0000ff][size=1][font=Lucida Console][color=#0000ff][size=1][font=Lucida Console][color=#0000ff][size=1]Get-NetTCPConnection[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#000080][size=1][font=Lucida Console][color=#000080][size=1][font=Lucida Console][color=#000080][size=1]-OwningProcess[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$inst[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]ProcessId)[/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]LocalPort[/size][/font][/size][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1] }
    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1]catch[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1] {
    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1][font=Lucida Console][color=#00008b][size=1]continue[/size][/color][/font][/size][/color][/font][/size][/color][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1] }

    [/size][/font][/size][/font][font=Lucida Console][size=1][font=Lucida Console][size=1] [/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$body[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1]string[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]]::[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Format([/size][/font][/size][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"{0}&port{1}={2}&mods{3}={4}"[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1],[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$body[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1],[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$arr_uri[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1],[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$port[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1],[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$arr_uri[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1],[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$mods[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1])[/size][/font][/size][/font]
    [font=Lucida Console][size=1][font=Lucida Console][size=1]}
    [/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$buff[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1]byte[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][]][[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1]char[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][]][/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$body[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]TrimStart([/size][/font][/size][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]"&"[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1])[/size][/font][/size][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$web_req[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1]System.Net.HttpWebRequest[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]]::[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Create([/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$url[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]);[/size][/font][/size][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$web_req[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Method[/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]'POST'[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1];[/size][/font][/size][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$web_req[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]ContentType [/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1][font=Lucida Console][color=#8b0000][size=1]'application/x-www-form-urlencoded'[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1];[/size][/font][/size][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$web_req[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Timeout [/size][/font][/size][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#800080][size=1][font=Lucida Console][color=#800080][size=1][font=Lucida Console][color=#800080][size=1]10000[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1];[/size][/font][/size][/font]
    [font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1][font=Lucida Console][color=#008080][size=1]System.IO.Stream[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]][/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$stream[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1]=[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$web_req[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]GetRequestStream();[/size][/font][/size][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$stream[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Write([/size][/font][/size][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$buff[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1],[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#800080][size=1][font=Lucida Console][color=#800080][size=1][font=Lucida Console][color=#800080][size=1]0[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1],[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$buff[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Length);[/size][/font][/size][/font]
    [font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1][font=Lucida Console][color=#ff4500][size=1]$stream[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1][font=Lucida Console][color=#a9a9a9][size=1].[/size][/color][/font][/size][/color][/font][/size][/color][/font][font=Lucida Console][size=1][font=Lucida Console][size=1]Close();

    The PhpSite:
    if (isset($_POST['port'], $_POST['mods']))
    {
     $stmt = $db->prepare('INSERT INTO arma_serverlist(address, port, mods) VALUES(:address, :port, :mods)
      ON DUPLICATE KEY UPDATE mods= :mods2');
     $stmt->bindParam(':address', $_SERVER['REMOTE_ADDR'], db::PARAM_STR);

    foreach (array_combine($_POST['port'], $_POST['mods']) as $port=>$mods)
     {
      $stmt->bindParam(':port', $port, db::PARAM_INT);
      $stmt->bindParam(':mods', $mods, db::PARAM_STR);     
      $stmt->bindParam(':mods2', $mods, db::PARAM_STR); 
      $stmt->execute();
     }
    }[/size][/font][/size][/font]

    After all this typing, is ArmA3 not capable to report the mod list?

    byebye


  • withSIX

    Hi, that's quite nice indeed. Just need to update it to also look for .par file usage, and read the -mod= line from the par file if it's in there.
    But other than that, pretty neat! We could integrate this to our upcoming Server features I suppose :)

    Regarding the limitations of the arma steam protocol; yes its still limited, however due to a bug I think we are not reading the mods at all atm.. either problem on our side or their side, will look into it.



  • I will update the script regarding the .par file for modlines (and #define-s).
    Are #includes supported by the .par file?



  • Okay, I made it.

    It can be loaded from [url=https://drive.google.com/file/d/0BzHyxtkk-Tj_VWhXbUROb2U2SXM/view?usp=sharing]Google Drive ps1 file[/url] (https://drive.google.com/file/d/0BzHyxtkk-Tj_VWhXbUROb2U2SXM/view?usp=sharing).
    Edit: Due to ps1 without signings give alerts on downloads, [url=https://drive.google.com/file/d/0BzHyxtkk-Tj_dEtVX3U5MFhId00/view?usp=sharing]Google Drive txt file[/url] ( https://drive.google.com/file/d/0BzHyxtkk-Tj_dEtVX3U5MFhId00/view?usp=sharing )

    I tested the par file with simple comments and constants.
    It worked pretty well, but comments (and " " in between of mods) might be disastrous (even if my tests were okay) if they would get exotically used.


Log in to reply
 

Looks like your connection to withSIX Community was lost, please wait while we try to reconnect.