Go Back   Tactical Gamer > Simulation > Armed Assault > Armed Assault 1 - General Discussion

Armed Assault 1 - General Discussion General discussion for the original version of ArmA.

Reply
 
Thread Tools
Old 04-08-2008, 12:06 AM   #1 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 29
Posts: 2,810
Tournaments Joined: 0
Tournaments Won: 0
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.
__________________
jmaker is offline   Reply With Quote
Old 04-12-2008, 08:12 AM   #2 (permalink)
 
Shafik's Avatar
 
Join Date: Nov 2005
Location: Israel
Age: 28
Posts: 1,582
Tournaments Joined: 0
Tournaments Won: 0
Re: Server banners inside forum (Greasemonkey script)

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



Shafik is offline   Reply With Quote
Old 04-12-2008, 02:17 PM   #3 (permalink)
 
NippleCorn's Avatar
 
Join Date: May 2003
Posts: 79
Tournaments Joined: 0
Tournaments Won: 0
Re: Server banners inside forum (Greasemonkey script)

I have no idea what this post is about. Could you elaborate, please? :-)
NippleCorn is offline   Reply With Quote
Old 04-12-2008, 07:21 PM   #4 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 29
Posts: 2,810
Tournaments Joined: 0
Tournaments Won: 0
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.
__________________
jmaker is offline   Reply With Quote
Old 04-12-2008, 07:53 PM   #5 (permalink)
 
GinSoakedBoy's Avatar
 
Join Date: Jun 2007
Posts: 143
Tournaments Joined: 0
Tournaments Won: 0
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"


GinSoakedBoy is offline   Reply With Quote
Old 04-13-2008, 01:23 AM   #6 (permalink)


 
Bamboo's Avatar
 
Join Date: Nov 2006
Location: On the beach north of Jacksonville, NC
Posts: 5,505
Tournaments Joined: 0
Tournaments Won: 0
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-

Bamboo is offline   Reply With Quote
Old 04-13-2008, 05:51 AM   #7 (permalink)
 
Shafik's Avatar
 
Join Date: Nov 2005
Location: Israel
Age: 28
Posts: 1,582
Tournaments Joined: 0
Tournaments Won: 0
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.
Shafik is offline   Reply With Quote
Old 04-13-2008, 01:59 PM   #8 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 29
Posts: 2,810
Tournaments Joined: 0
Tournaments Won: 0
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.
__________________
jmaker is offline   Reply With Quote
Old 07-19-2008, 01:16 AM   #9 (permalink)


 
Bamboo's Avatar
 
Join Date: Nov 2006
Location: On the beach north of Jacksonville, NC
Posts: 5,505
Tournaments Joined: 0
Tournaments Won: 0
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-

Bamboo is offline   Reply With Quote
Old 07-19-2008, 11:59 AM   #10 (permalink)

 
Xmaster's Avatar
 
Join Date: Apr 2008
Location: Quebec, Canada
Age: 21
Posts: 1,307
Tournaments Joined: 0
Tournaments Won: 0
Re: Server banners inside forum (Greasemonkey script)

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


TG Pathfinder | Armed Assault Admin | Bearer of the Pink Shirt
Project Reality Ingame Name: |TG|Xmaster | ArmA Ingame Name: |TG|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
Xmaster is offline   Reply With Quote
Old 04-21-2009, 01:07 AM   #11 (permalink)


 
Bamboo's Avatar
 
Join Date: Nov 2006
Location: On the beach north of Jacksonville, NC
Posts: 5,505
Tournaments Joined: 0
Tournaments Won: 0
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-

Bamboo is offline   Reply With Quote
Old 04-21-2009, 03:47 AM   #12 (permalink)
 
aceking's Avatar
 
Join Date: Aug 2008
Location: Columbus, OH
Age: 21
Posts: 146
Tournaments Joined: 0
Tournaments Won: 0
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/
aceking is offline   Reply With Quote
Old 04-21-2009, 09:04 AM   #13 (permalink)

 
Xmaster's Avatar
 
Join Date: Apr 2008
Location: Quebec, Canada
Age: 21
Posts: 1,307
Tournaments Joined: 0
Tournaments Won: 0
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.
__________________


TG Pathfinder | Armed Assault Admin | Bearer of the Pink Shirt
Project Reality Ingame Name: |TG|Xmaster | ArmA Ingame Name: |TG|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

Last edited by Xmaster; 04-21-2009 at 10:11 AM.
Xmaster is offline   Reply With Quote
Old 04-21-2009, 09:07 AM   #14 (permalink)
Arma Officer


 
Jeepo_SAS's Avatar
 
Join Date: Mar 2007
Location: Northern Ireland, land of Kings....and rain.
Age: 23
Posts: 3,573
Tournaments Joined: 0
Tournaments Won: 0
Re: Server banners inside forum (Greasemonkey script)

About a year now, just make sure you have the grease monkey all hooked up right.
__________________
|TG-1st|Jeepo
TG-1st 2IC | ArmA GO | TG Pathfinder




"People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf"

Nominate your teammates for a ribbon | TG Primer | Kicked? Banned? READ THIS FIRST!
Server Rules and SOP's | Contact an Admin

"I like our siggy's too. Partially because they are superbly done, but also because they were done by Xmaster whom I have a deep sexual desire for" - Python1
Jeepo_SAS is offline   Reply With Quote
Old 04-21-2009, 12:07 PM   #15 (permalink)
 
meeeeee8880's Avatar
 
Join Date: Feb 2008
Posts: 122
Tournaments Joined: 0
Tournaments Won: 0
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
meeeeee8880 is offline   Reply With Quote
Reply

Bookmarks

Tags
addon, arma, banner, firefox, greasemonkey, mozilla, plugin, script, server


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement



All times are GMT -4. The time now is 08:04 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
©2004-2008 - Tactical Gamer - All Rights Reserved