Pages: [1] 2 3
  Print  
Author Topic: OAWire  (Read 82973 times)
Udi
Member


Cakes 25
Posts: 536


i do my own stunts


WWW
« on: April 22, 2010, 01:24:32 PM »

OAWire is a Firefox addon for launching OpenArena with server connections.

OAWire Google Code page
OWire Mozilla Addons page

Latest version: 0.1.3
Supports: Firefox 3.5-10.0a1

Changelog

Short list of features:
  • Only supports Firefox for now
  • Creates launcher buttons on the dpmaster site and converts every OACON link
  • Possibility of additional launching arguments
  • Full localization support (currently supported: English, Hungarian, Italian (thanks Gig))
  • Licensed under GPLv2



Version 0.1 is rather a proof of concept release, it basically does the same as the OACON protocol with slight differences (no password support, dpmaster can be used for browsing and launching, only Firefox is supported but at least it's OS independent). There are two ways of improving it: add more browser support and add more features. If every browser allows access to the local files, managing packages and configs over the web is possible, we can start making an optional service like QL. If we succeed and stay fully open source other projects could also benefit from it. But that's a distant dream.

You can help by testing the addon, translate it to your language (see Wiki on project site), join development or give me some feedback of what can or should be improved.
« Last Edit: October 28, 2011, 01:27:16 AM by Udi » Logged

http://udionline.hu/en/projektek/openarena/
Todo list: 1. q3dm17 textures replacement (95% done)
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #1 on: April 22, 2010, 03:40:56 PM »

Interesting. I should try. Does it subdivide the servers depending from the mod and gametype used?

A big problem in the server browser integrated inside OpenArena is that it does not show you the mod in use (I hope they will implement this useful function)...

UPDATE: Tested, it adds a button to launch OpenArena in the "classic" page http://dpmaster.deathmask.net/?game=openarena
Nice, but I thought it was something more similar to the old good ''The All-Seeing Eye" (why its developers discontinued it, why?HuhHuh??), something that also pinged the servers...
« Last Edit: April 22, 2010, 03:52:23 PM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #2 on: April 22, 2010, 03:46:26 PM »

I often find that these plugins are rather demanding to setup (anything that doesn't work out of the box is in that category)

OpenArena should every time it starts add or update itself in a file called ~/.openarena/oacon_start that contains something like this:
Code:
oa0.7.0 /home/sago/openarena-0.7.0/openarena.i386
oa0.7.7 /home/sago/openarena-0.7.7/openarena.i386
oa0.8.1 openarena

If openarena was started from /somedisk/openarena-0.8.1/openarena.i386 it should automatically update oacon_start to use the right path.

Links on the web could look something like: "oacon:(oa0.8.1)82.211.202.16:27590" and the oa-launcher should see that it can simply run "openarena +connect ...".

Another file (like oacon_args) could contain version specific launch commands. Like
Code:
oa0.7.0 +set fs_homepath /home/sago/.openarena-0.7.0
oa0.7.7 +set fs_homepath /home/sago/.openarena-0.7.7
This would of course need to be created manually.

This would make keeping multiple versions easier. For example during version transitions. No new version of the launcher required. It could even be extended to other games without adding a lot of plugins.

Unfortunately it could be hard making this plugin multi platform because of the different paths used.
Logged

There are nothing offending in my posts.
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #3 on: April 22, 2010, 04:23:13 PM »

'The All-Seeing Eye" (why its developers discontinued it, why?HuhHuh??)

Yahoo buyouts always spell death.
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
RMF
Member


Cakes 12
Posts: 694



« Reply #4 on: April 22, 2010, 11:46:13 PM »

I'm going to check it out later today Smiley
Logged
Udi
Member


Cakes 25
Posts: 536


i do my own stunts


WWW
« Reply #5 on: April 27, 2010, 03:30:19 PM »

OpenArena should every time it starts add or update itself in a file [...]

A generic extensible file with a light syntax (not XML) is a good idea. It can contain the binary paths and the versions also and any other information which might come up.

Nice, but I thought it was something more similar to the old good ''The All-Seeing Eye"

The addon so far is an experimental thing, when (or if) it matures it will have a site dedicated to it either with it's own QStat list or mirroring the list from dpmaster. Since the different browsers have different APIs for drawing buttons etc., HTML is the best choice for a GUI (just like QL, you can't use the addon only through the QL site). It's a long and a little expensive development so maybe it's the wrong path to take.

The mod infos you want are already on dpmaster, when you look at the details of a single server there are two variables: game and gamename which vary accordingly (baseoa, insta, defrag etc.) So basically you just need a software which gets the dpmaster XML file, parses it, and draws a pretty GUI displaying all the info. So developing a desktop server browser with some multiplatform technology (Qt or Python+GTK like the RN|Launcher) could be faster.
Logged

http://udionline.hu/en/projektek/openarena/
Todo list: 1. q3dm17 textures replacement (95% done)
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #6 on: April 27, 2010, 05:04:42 PM »

Well, I linked it DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Servers#Tools]here...
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
RMF
Member


Cakes 12
Posts: 694



« Reply #7 on: April 30, 2010, 02:43:48 AM »

hm just tested it (little late ye) and works quite nice. Though imo the logo style it too much in the foreground and odd color pallette in combination with dpmaster. Also it tried to connect to IP:PORT&showplayers=1 Tongue It worked, but just a note.
Logged
...
Half-Nub


Cakes 10
Posts: 75

Also known as Dots & cookies


WWW
« Reply #8 on: June 24, 2010, 02:15:54 PM »

Must say i really like this and fine it very handy  Grin
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #9 on: June 28, 2010, 02:42:56 PM »

Just a little thing (OAwire 0.1): if you first apply some filter on dpmaster server, this filter is shown in the URL. When you use OAwire to start a match, you can see the "filter" part of the url inside the address OpenArena tries to connect to (or example, 127.0.0.1:27960&hide=both). It seems to work anyway, but I wanted to tell you.
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Udi
Member


Cakes 25
Posts: 536


i do my own stunts


WWW
« Reply #10 on: June 28, 2010, 04:23:02 PM »

Thanks Gig, RMF already posted it. I will apply a proper regexp for the next version (don't know when).
Logged

http://udionline.hu/en/projektek/openarena/
Todo list: 1. q3dm17 textures replacement (95% done)
RMF
Member


Cakes 12
Posts: 694



« Reply #11 on: June 29, 2010, 12:07:32 AM »

Oh well as long as it works Smiley
I like it for how easy i can switch between the launched oa version with just a few clicks and changing one number in the past. For oacon i could write a simple batch to do the job but i'm too lazy lol
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #12 on: March 26, 2011, 08:03:06 AM »

Hello everybody. I just updated to the new FireFox 4, and OAWire 0.1 does not work anymore. Could you please update it? Thank you!
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Udi
Member


Cakes 25
Posts: 536


i do my own stunts


WWW
« Reply #13 on: March 26, 2011, 11:00:45 AM »

Yes, I guess. Probably for next weekend.
Logged

http://udionline.hu/en/projektek/openarena/
Todo list: 1. q3dm17 textures replacement (95% done)
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #14 on: April 17, 2011, 04:13:48 PM »

Hi Udi.
Did you have some time to take a look to the tool?
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Udi
Member


Cakes 25
Posts: 536


i do my own stunts


WWW
« Reply #15 on: April 18, 2011, 08:39:40 AM »

Hi Udi.
Did you have some time to take a look to the tool?

I've checked, there are 3 things I need to change:
  • change the maximum version number, so it installs under FF4 (already done)
  • move the icon from the bottom statusbar to the upper toolbar
  • recheck the dpmaster markup, it seems to be broken, only the first entry has a play button

I should be able to fix it in a couple of days.
Logged

http://udionline.hu/en/projektek/openarena/
Todo list: 1. q3dm17 textures replacement (95% done)
sheepofsin
LOOK AT ME I THINK IM SO CLEVER FOR DESTROYING MY OWN POSTS
Nub


Cakes -65534
Posts: 8


LOOK AT ME I THINK IM GREAT AT DESTROYING MY POSTS


« Reply #16 on: April 18, 2011, 12:40:11 PM »

[removed]
« Last Edit: April 22, 2011, 07:53:30 AM by sheepofsin » Logged

LOOK AT ME I THINK IM SO CLEVER FOR DESTROYING MY OWN POSTS
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #17 on: April 18, 2011, 03:44:45 PM »

  • move the icon from the bottom statusbar to the upper toolbar
It could be nice to make an option to let the user select if he wants the icon on the lower plugin bar or on the upper bar (and maybe even the choice to do not show the icon at all) ...
« Last Edit: April 19, 2011, 12:54:30 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #18 on: May 10, 2011, 02:55:54 PM »

Udi, how's going with FF4?

I've even tried to "hack" it to allow OAWire to run on it.

If one goes to about:config in FireFox 4, and adds a new boolean value called extensions.checkCompatibility.4.0, setting it to "false", then he is allowed to run extensions that are not certified for firefox 4 and then were previously disabled. Firefox still warns you about what of your extensions are not certified for FF4, allowing you to enabling and disabling each one at will.

But, unfortunatley, at least on my machine, OAWire 0.1 does not work correctly with this hack. The server listing page shows me only the first "Play!" button (however, I could enter the page of each server before clicking on play)... and when I click on it, it launches the game like but without trying to connect to any server...

Well, at least it seems I can get the useful Aardwark extension (nothing to share with OpenArena, but useful for printing web pages removing useless stuff!) work, using this hack!
« Last Edit: May 10, 2011, 03:18:46 PM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Udi
Member


Cakes 25
Posts: 536


i do my own stunts


WWW
« Reply #19 on: May 14, 2011, 02:24:12 AM »

If one goes to about:config in FireFox 4, and adds a new boolean value called extensions.checkCompatibility.4.0

That's one way to go. But you can hack individual addons aswell, you download the xpi files to your harddrive, you extract them (they're JAR files), open the install.rdf file, and look for the maxVersion value, and you change that to "4.*". That will probably work, since there are no API changes in the new XUL. But QStat changed it's HTML output, so the current OAWire won't work, not even in 3.6 or older FireFox versions.

I'll quickly fix the dpmaster error, and make a release, and I'll later add the other features we discussed earlier.

Update: I've uploaded a fixed version. It seems that the QStat output did not change, but Firefox 4 has some changes. The dpmaster and FF4 fix is the only change, plus there's an italian translation thanks to Gig. Please test it, more features will come later.
« Last Edit: May 14, 2011, 07:04:45 AM by Udi » Logged

http://udionline.hu/en/projektek/openarena/
Todo list: 1. q3dm17 textures replacement (95% done)
RMF
Member


Cakes 12
Posts: 694



« Reply #20 on: May 15, 2011, 10:47:12 PM »

Where can I sign up for translation into Dutch Smiley

Edit: Nevermind, I've found it. Will do this tonight, gonna run for the bus now sick
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #21 on: May 16, 2011, 01:06:12 AM »

Thank you, man!  Smiley
I will test it in the next days, I'm extremely busy with real life now!

Does this 0.1.1a version work with both FF3 and 4?
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Udi
Member


Cakes 25
Posts: 536


i do my own stunts


WWW
« Reply #22 on: May 16, 2011, 10:18:14 PM »

Does this 0.1.1a version work with both FF3 and 4?

No, it seems that it's broken for FF3.6, a recent nightly build works though (FF6). I will check if I can manage to make it backward compatible.
Logged

http://udionline.hu/en/projektek/openarena/
Todo list: 1. q3dm17 textures replacement (95% done)
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #23 on: May 22, 2011, 04:31:35 AM »

Tested... it works.
Thank you, man! Smiley
.. but the "about" link does not work.

Just a curiosity... what should you do to make it available directly form the addon search function of Firefox, instead of manually downloading the xpi file from your site? To register as a developer at Mozilla? It's a shame that many useful firefox (and thunderbird) extensions are not comfortable to find and to keep updated for the average user.
« Last Edit: May 22, 2011, 04:47:58 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Udi
Member


Cakes 25
Posts: 536


i do my own stunts


WWW
« Reply #24 on: May 30, 2011, 04:28:42 PM »

Just a curiosity... what should you do to make it available directly form the addon search function of Firefox, instead of manually downloading the xpi file from your site? To register as a developer at Mozilla?

Yes, I think it only requires a free registration. I should do it in the upcoming weeks.
Logged

http://udionline.hu/en/projektek/openarena/
Todo list: 1. q3dm17 textures replacement (95% done)
Pages: [1] 2 3
  Print  
 
Jump to: