BF2 AutoConnector v1.54 - a macro connector

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wolf5

    #1

    BF2 AutoConnector v1.54 - a macro connector

    I have created a macro connector that has its own serverlist or can be used from The All-Seeing Eye. When you want to join a server that is full or not full, the program opens up BF2 (or switches to it if it's allready running), then writes in the IP and port of the server and waits to join. As soon as there is a slot available, you will join.

    The program is a macro-program meaning everything is done by sending keys and mouseclicks so the user does not have to.

    The difference between this program and other connectors out there is that this will go into the game and wait there and join instantly when a slot opens. The others I have tested out there only starts up BF2 when the slot opens. By the time the game is up and running that slot will allready probably be taken. Makes it very easy to join full servers.

    I've used 12+ hours working on it so far.

    (Source code included for those its a hackprogram-paranoids out there :) )

    The screenshot shows how it is by default. The serverlist is my personal favorite list and the friends... well they're my friends.


    This program is made in C# (C Sharp) using Framework 1.1 which you can get here to be able to run the program (Framework 1.1). Some might allready have it installed with other programs.

    Installation
    Download and run this installer: BF2 AutoConnector Installer
    It will install the EXE, its Config file and the source code to the desired location.

    (turn off Scroll Lock if its on before running the program - a previous feature that I'll fix - normally this is off anyways so wont mean much to people)

    v1.54
    - Contains: Serverlist, Playerlist on selected server, Friendslist, Friends on any of the servers on the Serverlist.
    - Fullscreen required for the macroing to work correctly. If enoughpeople complain about this I'll see if I'll have a go at fixing it.
    - Player colors in the playerlist. Blue for US, Red for the rest.
    - Server colors: Red for full, Blue for open slots
    - Wildcards in front and after a friends allowed (ie "*[myclan]*") - I am not sure how this works now with the new clan tag option in patch v1.03
    - Delay when starting up BF2 in config file for slow/fast systems. The higher the number, the higher the delay between clicking and sending keys: <add key="DelayFactor" value="5"/> (Changing this has to be done manually)
    - Automatic refresh every 60 seconds if application has focus. (F5 = refresh now)
    - Checking if connection failed. If failed, keep on trying. (close msg box, open join window again and wait. max 20 retries). Uses the color of a spot on the gamespy as indicator (so try not to use any gammacorrection, or at least not till you have joined the server).
    - Check the config to adjust the start params when launching BF2: <add key="StartParams" value="+menu 1 +fullscreen 1"/> (if you want to specify resolution etc.)
    - Supports to run as an ASE wrapper (see picture below)

    What the program does when launched by itself:
    1. User selects a server
    2. User clicks "Go and wait and join!"
    (3) Program asks for password if the server is password protected.
    4. Program launches BF2 (or switches to it if allready running. go to #6.)
    5. Program places mouse at the login button and clicks it (so the default selected user will be used)
    6. Program places mouse at the Multiplayer button and clicks it.
    7. Program places mouse at the Internet Game button and clicks it.
    8. Program clicks back and forth on "Join by IP" and the "Updating" button. To stop the update so the "join by ip" becomes available
    9. Program clicks the "Join by IP"
    10. Program deletes the contents of the IP box and enters your selected servers IP.
    11. Program deletes the contents of the Port box and enters your selected port.
    (12). Program deletes the contents of the Password box and enters your password for that server.
    13. Program places the mouse over the Connect button and waits (program starts polling the server to check for free slots).
    14. When a slot opens, the program sends a mouse click making you join the server
    15. Program then checks to see if the joining worked or failed.
    16. If failed, program closes the message box and goes to #9.
    17. If OK, program is done.

    What the program does when launched through ASE:
    1. User selects to join a server in ASE. (if full server, press FORCE join)
    2. Go to #4 of last section.




    If you tried this program and like it or find any bugs, please reply to this thread. Or the thread'll just go away on page10 and die so noone else will notice its usefullness.
  • ptegan
    Member
    • Jul 2006
    • 2666

    #2
    Re: BF2 AutoConnector v1.54 - a macro connector

    Downloading and testing right now.


    BTW, if this works there's gonna be a LOT of happy players out there :)

    Comment

    • wolf5

      #3
      Re: BF2 AutoConnector v1.54 - a macro connector

      Allready got 50+ users I believe on the forum I initally released this to (the home forum for the servers I play on.).

      Have not have had any negative remarks on it. Just replies like "woot", "superb" etc on it. And a couple of bugs I fix up if its fixable.

      Comment

      • Fluffyjesus

        #4
        Re: BF2 AutoConnector v1.54 - a macro connector

        This program works great, try it out and you wont be disappointed. :)
        Should deserve a sticky.

        Comment

        • wolf5

          #5
          Re: BF2 AutoConnector v1.54 - a macro connector

          New update 1.6 available.

          v1.6
          - Finds the default player in BF2. Nick will be displayed in the caption of the program. If you add a password for the current user, the game can launch directly past the login screen. (if no password is set or set blank, the normal click macroing will occur to login). Password is stored encryped in the config file.
          - If BF2 is not running and there is free slots, join by passing params to the game. The program then does not have to send any mouseclicks or keys. If the server is full upon joining, the macroing will take over and go to its normal thing/loop.
          - Donate button added on request: Feel free to donate if it makes you feel better - My 200Gb HDD crashed, so getting a new one would be nice.
          - Serverlist refresh improved a lot. Refresh is done threads. Should help on large lists.
          - Ping time added (uses the time taken to get the first info package as ping time because some servers does not allow normal ICMP pings)
          - Added another set of servers since the serverlisting has been improved.
          - Some more tweaks in delays
          - Fix: Moving mouse before clicking when server is ready. Earlier it didnt move back to spot if user had moved the mouse.
          - Removed: Scroll Lock usage (If you really need it, download an older version).
          - Shortcut added to Desktop by default.
          - Uninstall shortcut added: Start->Programs->BF2 AutoConnector->Uninstall
          - ASE usage for direct connecting. Open up the program once and set your password, then use ASE as normal. Should then join server directly without asking for login (if the server has free slots).

          Comment

          • Beerman

            #6
            Re: BF2 AutoConnector v1.54 - a macro connector

            Ill install it soon.

            Comment

            • SaladFork

              #7
              Re: BF2 AutoConnector v1.54 - a macro connector

              Just downloaded it and installed it, looks like a great piece of work. Is there really a need for all the .cs files to be included with the .exe and the .ico? Isn't there a way you can incorporate those into the program?

              Also, it is sort of annoying that you include your friends and servers with the download. After a few minutes of manually clicking and deleting (you should be able to use ctrl/shift to select more than one) a few friends and servers, I had to find the file that stored friends/servers and delete them all.

              About to try using it to join a full server, kudos for your effort,

              I'm also not too big a fan of the icon you use for the program, I went ahead and modified it so it uses the BF2 icon. Mainly because ASE will adapt the icon of it, and I don't really like it.

              EDIT: My highlight color is grey for a scrolllist, and when a server is selected, the bright text on the grey background makes it unreadable. If you could make some way to unselect servers entirely, it would help. And adding to the above thing, you should make it easier to change the program's icon,

              ~Salad

              Comment

              • wolf5

                #8
                Re: BF2 AutoConnector v1.54 - a macro connector

                The *.cs and icons are just part of the source. You only need the exe and the exe config if u want to clean up.

                Later updates should be able to keep the old config so its a once change for you personal settings.

                I dont know if i mentioned it, but you can use wildcards for friends. ie *clanname*.

                The icon is just a quick self made one. I didnt want to take on of the "official" ones. Maybe if someone makes a better icon. Maybe some clone of the bf2 icon. Then I can add it. Im lousy at making my own.

                Deleting more than 1 server and more than 1 friend is a thing I can put on my list.

                I am considering getting the main server list to be used to Add Servers. Just have to figure out how to get that list.

                Comment

                • PBAsydney

                  #9
                  Re: BF2 AutoConnector v1.54 - a macro connector

                  Great work! Ill check it out tomorrow.

                  Comment

                  • SaladFork

                    #10
                    Re: BF2 AutoConnector v1.54 - a macro connector

                    Here are the icons that BF2 uses that I think look good:

                    32x32:



                    16x16:



                    ~Salad

                    Comment

                    • wolf5

                      #11
                      Re: BF2 AutoConnector v1.54 - a macro connector

                      K, I used those and modified them a weeny bit. Package ready.

                      Comment

                      • SaladFork

                        #12
                        Re: BF2 AutoConnector v1.54 - a macro connector

                        Giving this thread a much-needed bump.

                        ~Salad

                        Comment

                        • RandysWay

                          #13
                          Re: BF2 AutoConnector v1.54 - a macro connector

                          Awesome!! I'll have to try this out.

                          Got sticky? :)

                          Comment

                          • kemmy

                            #14
                            Re: BF2 AutoConnector v1.54 - a macro connector

                            Is there a way to make this program independent by any chance? Without using the seeing eye. Ive had bad expieriences with ASE, and found it quite pointless :P

                            But this program alone would be by far the best BF2 related program out there!

                            Comment

                            • wolf5

                              #15
                              Re: BF2 AutoConnector v1.54 - a macro connector

                              Originally posted by kemmy
                              Is there a way to make this program independent by any chance? Without using the seeing eye. Ive had bad expieriences with ASE, and found it quite pointless :P

                              But this program alone would be by far the best BF2 related program out there!
                              It is independent. But you CAN use it for ASE if you want to. Works with ase after patch 1.03.

                              Comment

                              Working...