Welcome to Tactical Gamer

+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
Discussion: ArmA - Archives / Armed Assault 1 - General Discussion - Server banners inside forum (Greasemonkey script) - http://www.tacticalgamer.com/armed-a...te-server.html It looks this idea started right here, so here I am just trying to
  1. #1

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Server banners inside forum (Greasemonkey script)

    http://www.tacticalgamer.com/armed-a...te-server.html

    It looks this idea started right here, so here I am just trying to help.

    I'm posting this for every game that Gametracker tracks that we have here so apologies if you see this in every forum. I don't know how you guys check the server status, but I thought it might be easier to just have the Gametracker banners right inside the forum for easy viewing. Here's a screenshot to show what I'm talking about.



    You'll need Firefox along with the Greasemonkey extension which you can download here.
    https://addons.mozilla.org/en-US/firefox/addon/748

    And here's the script - serverBannerArma.user.js

    Alternatively you may position the banners either on the left side or right side or just keep it centered. To do that you need to edit the script on line 10 and type in either left, center or right. Let me know if this helps at all.
    |TG-12th| jmaker

  2.  
  3. #2

    Shafik's Avatar

    Join Date
    Nov 2005
    Location
    Israel
    Age
    31
    Posts
    1,576

    Re: Server banners inside forum (Greasemonkey script)

    Excellent job, Jmaker. This is very handy. +rep.




  4.  
  5. #3

    NippleCorn's Avatar

    Join Date
    May 2003
    Posts
    79

    Re: Server banners inside forum (Greasemonkey script)

    I have no idea what this post is about. Could you elaborate, please? :-)

  6.  

     
  7. #4

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Re: Server banners inside forum (Greasemonkey script)

    Sure I'll try. You need the Firefox web browser for this to work.

    Next you will need the Greasemonkey extension. Greasemonkey is an addon that "allows you to customize the way a webpage displays using small bits of JavaScript."

    But this will only be seen on the client end, meaning your browser only. So basically we can add, delete, or modify anything within the webpage we want. These are called scripts. If you can click on the script above (assuming you've already installed Greasemonkey) there will be a popup asking you to install the script. After you've done that, refresh any page within the forums here, and you should see the TG Armed Assault Gametracker banners, like I've shown in the screenshot. (the screenshot shows our BF2 servers, but the ArmA ones will appear for you).

    Let me know if you need any more help.
    |TG-12th| jmaker

  8.  
  9. #5

    GinSoakedBoy's Avatar

    Join Date
    Jun 2007
    Posts
    146

    Re: Server banners inside forum (Greasemonkey script)

    For anyone using Firefox 3 Beta 5 this plugin does not currently work with it, but the maker is in the process of updating it.
    "I have nothing to offer but blood, toil, sweat and tears"




    StrangeStorm Films

  10.  
  11. #6

    Bamboo's Avatar

    Join Date
    Nov 2006
    Location
    On the beach in NC
    Posts
    7,365
    Blog Entries
    15

    Re: Server banners inside forum (Greasemonkey script)

    I got these, and where can I find the BF PR one?? And can I use both at the same time?



    Stoop and you'll be stepped on; stand tall and you'll be shot at.

    -Carlos A. Urbizo-


  12.  

     
  13. #7

    Shafik's Avatar

    Join Date
    Nov 2005
    Location
    Israel
    Age
    31
    Posts
    1,576

    Re: Server banners inside forum (Greasemonkey script)

    Just edit the script file. Find these lines:

    // add any server from the list above
    div.innerHTML = armapub + armapriv;

    and change armapub + armapriv to bf2pr + bf2poe. All server have a var entry for them, making it quite easy to customize.

    I haven't actually tested it, but I assume it should work.
    Last edited by Shafik; 05-16-2008 at 08:11 AM.




  14.  
  15. #8

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Re: Server banners inside forum (Greasemonkey script)

    Yes Shafik is correct. Look for that line, which is line 48. So for example, if you wanted both Armed Assault servers and the BF2 PR server to show up just edit the line to this. To add more servers, just find the variable name up above. I tried to make them clear.

    Code:
    div.innerHTML = armapub + armapriv + bf2pr;
    On mine, having more than 4 banners up top doesn't wrap too neatly to the next line, so keep that in mind since I didn't account for that.
    |TG-12th| jmaker

  16.  
  17. #9

    Bamboo's Avatar

    Join Date
    Nov 2006
    Location
    On the beach in NC
    Posts
    7,365
    Blog Entries
    15

    Re: Server banners inside forum (Greasemonkey script)

    I wanted to bump this thread for a bunch of the new guys and people that have been AFK for a bit. I use this to check the server constantly and see who and how many are on. It really works well. I think if more people had it installed and therefor had a quick way to see if people were playing without loading up, more would jump on.

    If you have any questions about it or getting it working, there are a lot of very smart guys that would be glad to help. Please ask for help, cause only a noob sits there quietly and doesn't say so when he needs help trying something new.

    And if you aren't using firefox, what on earth is wrong with you?



    Stoop and you'll be stepped on; stand tall and you'll be shot at.

    -Carlos A. Urbizo-


  18.  

     
  19. #10

    Xmaster's Avatar

    Join Date
    Apr 2008
    Location
    Quebec, Canada
    Age
    23
    Posts
    1,594

    Re: Server banners inside forum (Greasemonkey script)

    exactly what I needed! Thanks! <3
    have some rep sexy lad

    |TG-1st| The Vanguard

    TG Pathfinder | Armed Assault Admin | Bearer of the Pink Shirt
    Ingame Name: |TG-1st| Xmaster
    Server Rules and SOP's || Contact an Admin

    -- I always wanted TG to be different than anyone else out there. We need to be unique in what we offer and how we play, if not we are simply competing with everyone else. --
    The BigC

  20.  
  21. #11

    Bamboo's Avatar

    Join Date
    Nov 2006
    Location
    On the beach in NC
    Posts
    7,365
    Blog Entries
    15

    Re: Server banners inside forum (Greasemonkey script)

    Have been meaning to BUMP BUMP this thread for a while.

    This is really easy to do, and makes it so easy to check out the server status and who is on, without even loading up the game.

    Enjoy!



    Stoop and you'll be stepped on; stand tall and you'll be shot at.

    -Carlos A. Urbizo-


  22.  
  23. #12

    aceking's Avatar

    Join Date
    Aug 2008
    Location
    Columbus, OH
    Age
    23
    Posts
    137

    Re: Server banners inside forum (Greasemonkey script)

    Well, since these banners are not yet up... here are the links for those individuals who want to check the server status by web browser.

    Just bookmark these two pages:
    Server #1
    http://www.gametracker.com/server_in....178.169:2302/

    Server #2
    http://www.gametracker.com/server_in....178.169:2312/

  24.  

     
  25. #13

    Xmaster's Avatar

    Join Date
    Apr 2008
    Location
    Quebec, Canada
    Age
    23
    Posts
    1,594

    Re: Server banners inside forum (Greasemonkey script)

    Quote Originally Posted by aceking View Post
    Well, since these banners are not yet up... here are the links for those individuals who want to check the server status by web browser.

    Just bookmark these two pages:
    Server #1
    http://www.gametracker.com/server_in....178.169:2302/

    Server #2
    http://www.gametracker.com/server_in....178.169:2312/
    Yes they are. I've been using this script for about 8 months now.
    Last edited by Xmaster; 04-21-2009 at 10:11 AM.

    |TG-1st| The Vanguard

    TG Pathfinder | Armed Assault Admin | Bearer of the Pink Shirt
    Ingame Name: |TG-1st| Xmaster
    Server Rules and SOP's || Contact an Admin

    -- I always wanted TG to be different than anyone else out there. We need to be unique in what we offer and how we play, if not we are simply competing with everyone else. --
    The BigC

  26.  
  27. #14



    Jeepo's Avatar

    Join Date
    Mar 2007
    Location
    Northern Ireland, UK
    Posts
    7,083
    Blog Entries
    4

    Re: Server banners inside forum (Greasemonkey script)

    About a year now, just make sure you have the grease monkey all hooked up right.

    Saddam ✓ Osama ✓ Gaddafi ✓ Justin Bieber ☐ Rebecca Black ☐

  28.  
  29. #15

    meeeeee8880's Avatar

    Join Date
    Feb 2008
    Posts
    119

    Re: Server banners inside forum (Greasemonkey script)

    This is great, can finally see whats going on in the servers while in the forums. Thanks ;D

  30.  

     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


  
 

Back to top