search -  faq -  rulez -  staff

forums






map cycle
irc              pwnalizer
voice         dswp bar




Register

Login


It is currently 12.30.24

 

All times are UTC + 1 hour




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 115 posts ]  Go to page 1, 2, 3, 4, 5 ... 12  Next
Author Message
 Post subject: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Leader
User avatar

Joined: 11.29.08
Posts: 1972
As a wurst addicted I join a lot the server, but I especially watch 2 criteria : people online and map currently played. I have a server browser but it's quite boring to refresh and read a 45 players list... So I've coded a toolbar for firefox to make the things easier : after you log in, the toolbar gets online people, current and nextmap, and displays a popup showing people who join and left. Actually the popup show "friends" : I don't know if you ever noticed that you can make everyone your friend on the forum by clicking on the "add friend" link on user's profile page. By using the B3 account plugin I match online people <-> friend you have on the forum.

Here are some screenshots :
- first step, login
Attachment:
dswpbar_login.gif
dswpbar_login.gif [ 4.74 KiB | Viewed 95208 times ]

- bar loaded
Attachment:
dswpbar_loaded.gif
dswpbar_loaded.gif [ 5.61 KiB | Viewed 87515 times ]

- online players list : friends in bold font, forum name between () if any
Attachment:
dswpbar_playersmenu.gif
dswpbar_playersmenu.gif [ 3.01 KiB | Viewed 95202 times ]

- popup when friends join or leave the server (like msn or quakelive)
Attachment:
dswpbar_friendspopup.gif
dswpbar_friendspopup.gif [ 1.28 KiB | Viewed 95200 times ]


There could be many more features :
- connect button
- multi servers support (at least the bomb)
- PM received
- list of online people on mumble
- text field to search for people
- your own stats displayed somewhere
- broadcast messages in the popup from ingame command
- admin-only features...

Now if you want to try it :
/! Warning : it's a pre-alpha version, use it at your own risks !!! It *may* crash your firefox session (didn't happen until now), I would even recommend you to install it on a different profile (firefox -ProfileManager in command-line).
The bar is for Firefox version 3.*
Tested and works fine on :
- Firefox (Iceweasel) 3.0.12 on Linux
- Firefox 3.5.3 on MacOS Leopard

Hint : best use with Samtron's persona, at least when I fix the text color :p (announcements/dswp-persona-for-mozilla-firefox-t708.html).

Download is here : dswp_tools/svarox/dswpbar/dswpbar.xpi

If you dare test the bar, please report ;)
HF

_________________
ut4_he_tennis_v0.1
-------------------------
"We are talking about computers here, compared to those I can read women like a book ;P"
Unclefragger



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Godlike
User avatar

Joined: 10.14.08
Posts: 2006
Location: rooftops
-----tdm:  
nick: [dswp]ucf
skill: 472.479
kills: 532
deaths: 332
ratio: 1.60
cool stuff, I'll try it!!!
well actually I already installed it and since it's fucking early there is no one on, so first suggestion: catch if server is empty to display so instead of "undefined".
An other nice feature would be to have it like Players online (amount) <arrow>.

Ofc autorefresh and everything you said in your post :P

3.5.3 on Leopard as well

_________________
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Godlike
User avatar

Joined: 01.08.09
Posts: 1296
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17
Nice work - of course I already installed it. It works very fine on Firefox 3.5.3 on WinXP. :D :!:
An important feature would be the connect button, and a server switcher for bomb would be nice, too...

Thanks for the advertisement for my Persona :)
And a last question: Which language did you use for developing this toolbar? Is it just XML and JavaScript in a specific structure? (a short answer is enough)

Edit: After a few minutes of usage some more requests:
1. Is it possible, that the links ("Home", "Game Monitor") open in a new Tab? I does not work, when I click on them with my mouse wheel...
2. Ah, I just see, Uncle proposed it already... The up-to-date amount of players on the "Players online" button.

_________________
Image



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Godlike
User avatar

Joined: 09.04.08
Posts: 108
Great work sva!

Works fine on Ubuntu 9.04 / Firefox: 3.0.14



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
posted some :)
User avatar

Joined: 01.24.09
Posts: 312
Location: Germany
n1!

Same as knirps =)

_________________
wursti wrote:
Anime? wow thats that movies where 100 dicks come out of a monster?



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Godlike
User avatar

Joined: 09.28.08
Posts: 2318
Location: Solar System
I have it.

And lol! For wonder it works on Ubuntu 9.04 with Firefox 3.0.14! :)

Nice little thing, i'm going to make some friends now.

_________________
Image



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Leader
User avatar

Joined: 11.29.08
Posts: 1972
Thanks all for your reports :)

Nice idea for the number of online player. In fact sometimes it's written undefined and no map name are displayed, mostly because of map change, so the next refresh *should* solve that.

@Uncle :
Woke up at 6:35 and online already oO :)
In fact there is an auto refresh, 1 minute period. Data are server-side refreshed every minute too. Further versions will retrieve data from the status.xml file (I hope), so it will be 30 seconds delay IIRC

@Samtron :
It really lacks the connect button, too bad it's a platform-dependent feature... It also requires to set fs_homepath/fs_basepath to run UrT properly.
About mouse3 click I realized it isn't handled by default by firefox, I should add it in the players list too.
I used XUL + JS to code it. If you want to have a look at the code, just unzip the .xpi file and open the files from the chrome/content directory (warning : dirty code inside, since I added features it needs a code "re"factoring ;))

_________________
ut4_he_tennis_v0.1
-------------------------
"We are talking about computers here, compared to those I can read women like a book ;P"
Unclefragger



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Godlike
User avatar

Joined: 01.19.09
Posts: 1134
eoe, this is really cool man. Respect for your coding skillz!
Gonna be using this for sure

_________________
the meaning of the word cunt....loool

Image



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Godlike
User avatar

Joined: 01.08.09
Posts: 1296
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17
@ Connect Button: I know that there are protocols like skype: to open a skype conversation from a link or steam: to connect to a counterstrike server. But I'm not sure if even these links are platform independent... I'm dreaming of something like urt: -connect dswp.de:22222, but this propably only works on Windows and UrT needs to register that protocol at the operation system...

@ Sources: When I have some time, I will have a look in the .xpi, JavaScript can't be so difficult. Perhaps you can add one or two vertical divider to structure it a bit...

And I like the Stfu-Checkbox, no other application (at least I don't know) has such a nerdy naming :)

_________________
Image



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 09.21.09 
Offline
Godlike
User avatar

Joined: 09.28.08
Posts: 2318
Location: Solar System
But stfu doesn't work! I lost my focus 2 times, then i checked stfu, but i lost focus 3rd time :( It is especially problematic because firefox is on other desktop than urban terror and i have problems getting focus back...

_________________
Image



 


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 115 posts ]  Go to page 1, 2, 3, 4, 5 ... 12  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Imprint

Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009, 2010 phpBB Group

Skin by Lucas Kane
we use apache2 mod rewrite with phpBB SEO
map train_beta1-100 © 2009 by SteveMcQueen
Statistics Backend + Database by XLR Stats and B3 Bot
mapvote robot and gameserver monitor © 2009 by BlinKy
mumble viewer Copyright © 2008 Dominik Radner (aka Urmel)
mumble switcher and integration © 2008 by XTJ7, Unclefragger and Wursti
Localisation Plugin © 2009, Team Leads Plugin © 2009 and Knifer Plugin © 2009 by SvaRoX
for our stats we use Chart.js Copyright (c) 2013-2015 Nick Downie.
the stats also use some jQuery jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc.



voice server
top 20 players


nameskillkills
-Dws.BLINGBLING*-*1730.63418631
NormaSnockers1865.75400492
Zottel1760.8276378
make.them.suffer1846.17269872
>8v=1825.35230156
moon1777.56195615
sjas1692.49192315
peace1878.86190660
Wagner_Moura1562.9188001
Goomba1859.75182677
z0rn1608.41181016
Mad1803.76179124
[dswp]PLZ1847.85178516
Graf_ZahlIII1835.73167407
Zohan1611.07159737
ubercunt1634.93159240
Yarrr!1917.33156233
I_am_nOOb1909.64151268
Pandageddon1891.75148319
Pirat1664.08145798