Home  ›  Blog  ›  Importing / Exporting Settings

Importing / Exporting Settings

Posted by GEN3RIC at 4:44 am on July 4, 2010

If you restart, you’ll notice an update. From the Dashboard tab, you can import and export two kinds of data — the server list (passwords are hashed, secure to anybody’s eyes) and their respective Auto Admin settings, and the in-game admin permissions/kickban reasons.  This makes it so you should be able to back up/share your data easily.

There is one other feature I’ve made available to those with clans who may have a rather large group of members who are on the reserved list but don’t like to enter them in manually.  Right now you can load up a CSV file (comma-separated values) and it will add any players that don’t already exist in the Reserved list.  It will parse out any spaces that you’ve accidentally added, but ideally the format will look like this:

Player1,Player2,Player3,Player4

It will notify you of any duplicate players, which some of you might find useful.   :)


18 Responses to “Importing / Exporting Settings”

  1. Berry says:

    i still have have the Mscorlib error …

  2. GEN3RIC says:

    Can you paste it? That is too vague to diagnose.

  3. Berry says:

    oke when it pops up again i will paste it here.

  4. Berry says:

    here you have it.

    Exception of Type \System.ArgumentOutOfRangeException\

    Message: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index

    Source: mscorlib

    Data:

    StackTrace:
    at System.ThrowHelper.ThrowArgumentOutOfRangeException()
    at I3D.BFBC2CC.Protocol.Special.PunkBusterBanListCommand.get_IpAddress()
    at I3D.BFBC2CC.WpfClient.UserControls.MainTabControls.PunkBusterControl.ProcessPunkBusterEventMessage(BaseCommand baseCommand)
    at I3D.BFBC2CC.WpfClient.UserControls.MainTabControls.PunkBusterControl.c__DisplayClass2.b__0()
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

    Application Version: 2.0.1.40457

    OS Version: Microsoft Windows NT 6.1.7600.0

    Processor Count: 2
    Memory Used: 92mb

  5. Joker says:

    Generic, is it possible for you guys to make an import/export function for the task list? This would be mighty handy until you finish up with the daemon (unless of course you’re almost done with it :P ).

  6. Fatality UK says:

    Nice feature :p.

    Would it be possible to export your server ban list also?

    It would be cool to be able to write that to a txt file so a back up can be stored and imported too

  7. GEN3RIC says:

    @Berry
    I just sent out an update that should fix that one, which I don’t believe we’ve ever gotten so thanks. :)

    @Joker
    Hmm Yes I do believe thatd be possible. It would have to be an all-at-once thing since the punkbuster system forces you to do them all at once, and won’t let you edit individual tasks.

    @Fatality
    At this point it seems like it’s a pretty popular concept and I should probably move the import Reserved over to the dashboard, and include export as well.
    I’ll see if I can get the banlist working today.

  8. PapaCharlie9 says:

    +1 to import/exports of pb tasks and ban lists. Loving the new import/export of server settings and permissions.

    Question: what does a Save of the pb task list do? I inspected my server files and didn’t see anything change in pbsv.cfg nor pbsvuser.cfg, even after a restart of both server and BC2CC. And yet a Load showed all the tasks. Where are they hiding on my server? If I should put questions like this in the forum, just let me know.

  9. Joker says:

    Ok, I’m posting this here just to make sure it’s seen. I don’t know if this is about the server or BC2CC but since DICE’S R15 patch and BC2CC’s v2.0, when I use the”move team” command to balance the teams sometimes it says (when the teams are uneven): “To many player in other team, cannot move player.” Now the spelling mistakes aren’t important :P but I can’t balance the teams when this happens; and it’s really frustrating for me,an admin, and the players on the “weak team”. I usually move the player with the lowest score on one team to the other team and when I got this message the last time, I tried moving someone else and it worked. Since this happened to me twice, I decided to post here. Has anyone experienced the same thing?
    Here’s an image: http://img202.imageshack.us/img202/7122/bfbc220100706141926.png

  10. GEN3RIC says:

    @PapaCharlie9 I’m not too sure about which files exactly they are saved to on the server, can’t recall off hand. There are several PB files that store info and they should be available to you from your RSP.

    @Joker Thanks, there might be something wrong with the command, but it also might happen if you have “Team Balance” enabled on the server. In which case the server might try to stop you from unbalancing the server. Regardless, I’ll look into it for you.

  11. GEN3RIC says:

    @Joker, I did some testing and couldn’t get enough people in my test server to experience it. I had team balance on, 2 people on 1 team. /!mt GEN and it moved me fine. Couldn’t get it to not move me actually. There are a few things that can stop it from moving the player. It inspects the count of team you want to move them to; in Rush, if that team is greater than or equal to the server’s MaxPlayers/2, it won’t let move them.

    So with that in mind, maybe you could quickly inspect the GUI and tell me what the *tool* thinks the other team has for player count, and then what it thinks the max players of the server is. Let me know what it was reporting them as, because you might have uncovered a separate issue that has trickled down to move player.

  12. Joker says:

    Thanks for looking into it, but in my last post I provided a screenshot. If you look at that screenshot, you’ll see the server giving me the message “cannot move player…” 3 times. That’s just after I typed “/!mt der” for the third time to move the guy named “Der_Apatsche”. As you see, he is the only player on the server which has “der” in his name. The only thing I can think of is that the server somehow gets confused of which player I’m actually trying to move maybe. Maybe it thinks that I’m trying to move someone from the team which has less players to the other team. Anyway, I’ll try out a few things. The player’s name starts with a capital “D”, maybe that’s it, or I’ll try typing a different part of his name, etc. I’ll report back soon.

  13. GEN3RIC says:

    If it was confused about the name, it would tell you the player name wasn’t found and it’d stop in it’s tracks. It seems to be getting all the way to the point of moving the player. The logic is set up so it would never make it to that point if it wasn’t 100% right.

  14. SouCo says:

    Why does my Command Center always crash, and since the last update it’s been crashing way too quickly at times. Anyone having this same issue?

  15. lastsamurairick says:

    SouCo I have not been crashing srry to hear about that when I updated to latest it started responding on me better without no heavy issues.my Admin commands kick,tban or ban are not working can someone post here exatcly how it supposed to be executed. ty :(

  16. [...] to me and said it was possible and 2 other people said it was a good idea. Here's the link: Importing / Exporting Settings | BC2CC If you guys have already added this option with the last updates, then I've probably missed it in [...]

  17. Brack says:

    Soldier names can have spaces, I’m trying to load a CSV to reserved list but the spaces are considered seperate names. Tried double and single quotes around names to no effect.

  18. GEN3RIC says:

    Brack, you’re right. I’ve fixed this for the next build.

    You will be able use 2 formats.

    Player1, The Player Name, Player 5

    or this:

    Player1
    The Player Name
    Player 5

Leave a Reply

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...