BZFriends - A "'who's online' utility

Place all meeting requests / announcements here...
User avatar
Tut Tank Ahmon
Private First Class
Private First Class
Posts: 26
Joined: Fri Feb 11, 2005 8:12 am

BZFriends - A "'who's online' utility

Post by Tut Tank Ahmon » Thu Aug 06, 2009 10:09 am

I made up an utility to check which friends are online on BZFlag server, optionaly allowing to join the same server in same or different team.

Image

The project is in beta state.

It's developped in Mono/GTK using Monodevelop on OpenSuse and Sharpdevelop on Windows Vista.

I would actually need some ppl to test the thing under various environments :
- Windows XP
- Windows Vista
- Any Linux distribution
- Mac

At the moment, the project has no installer , and dependencies must be installed manually.

If you are volunteer to help or just want to have a look to it the project is here :

http://sourceforge.net/projects/bzfriends
Last edited by Tut Tank Ahmon on Tue Aug 25, 2009 6:42 am, edited 2 times in total.
Use BZFriends to know who is online ! http://my.bzflag.org/bb/viewtopic.php?f ... 22#p144700

tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: BZFriends - A "'who's online' utility

Post by tobylane » Thu Aug 06, 2009 12:02 pm

The file you put up two hours ago can't be found. Good luck, and I'll help where I can.

User avatar
blast
General
General
Posts: 4741
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BZFriends - A "'who's online' utility

Post by blast » Thu Aug 06, 2009 12:15 pm

Try a different mirror.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: BZFriends - A "'who's online' utility

Post by tobylane » Thu Aug 06, 2009 1:18 pm

It was a different kind of error, like a deleted file from the project.

The .sh file isn't written correctly, "/bzfriends.sh: /bin/bash^M: bad interpreter: No such file or directory" though it works without that line.

Works fine, in mono, so it's a mono dock icon and menu options. I added Gicu, a bot that seems to be always on. You can't see the name of the second person while the first is selected.

In terminal,
(bzfriends:478): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed.

In log.txt a lot of this,
06/08/2009 14:16:37: BZFriend control : Expose required for TutTankAhmon
06/08/2009 14:16:37: BZFriend control : Expose required for Gicu

User avatar
Tut Tank Ahmon
Private First Class
Private First Class
Posts: 26
Joined: Fri Feb 11, 2005 8:12 am

Re: BZFriends - A "'who's online' utility

Post by Tut Tank Ahmon » Thu Aug 06, 2009 1:37 pm

tobylane wrote:It was a different kind of error, like a deleted file from the project.
that's right, i've re-posted the zip file because the content was not correct.
tobylane wrote: The .sh file isn't written correctly, "/bzfriends.sh: /bin/bash^M: bad interpreter: No such file or directory" though it works without that line.
I made the linux shell script quickly and under windows without testing it ; it might have problem to execute.
tobylane wrote: Works fine, in mono, so it's a mono dock icon and menu options. I added Gicu, a bot that seems to be always on. You can't see the name of the second person while the first is selected.
I don't see a similar problem either under windows or opensuse : is it a window refresh problem ?
tobylane wrote: In terminal,
(bzfriends:478): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed.
Yes i see all these message. ATM I know which line causes this message but i don't know what's the problem.
tobylane wrote: In log.txt a lot of this,
06/08/2009 14:16:37: BZFriend control : Expose required for TutTankAhmon
06/08/2009 14:16:37: BZFriend control : Expose required for Gicu
You can ignore the log file for the moment, it's really messy, i must put a few order into it. Terminal output is more useful.

BTW on which OS did you test it ?
Use BZFriends to know who is online ! http://my.bzflag.org/bb/viewtopic.php?f ... 22#p144700

User avatar
blast
General
General
Posts: 4741
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BZFriends - A "'who's online' utility

Post by blast » Thu Aug 06, 2009 2:58 pm

The "^M" that the terminal reported in the shell script means that the file is using Windows line endings. Convert it to use *nix line endings. Easy way for a small script is to just edit the file and delete the ^M's. For something large, there are sed replacements you can do.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Tut Tank Ahmon
Private First Class
Private First Class
Posts: 26
Joined: Fri Feb 11, 2005 8:12 am

Re: BZFriends - A "'who's online' utility

Post by Tut Tank Ahmon » Thu Aug 06, 2009 3:07 pm

I was expecting something like that ; Ty blast :)
Use BZFriends to know who is online ! http://my.bzflag.org/bb/viewtopic.php?f ... 22#p144700

User avatar
clarahobbs
Private First Class
Private First Class
Posts: 272
Joined: Thu Jan 10, 2008 1:45 am
Location: The Fourth Dimension

Re: BZFriends - A "'who's online' utility

Post by clarahobbs » Thu Aug 06, 2009 9:47 pm

Or, to fix the ^M problem, just run the file through the dos2unix program. That would automatically convert the line endings.
FKA Ratfink

tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: BZFriends - A "'who's online' utility

Post by tobylane » Fri Aug 07, 2009 8:53 am

Sorry yes of course, I did it on mac. http://img37.yfrog.com/img37/9605/bzfri.png

User avatar
Tut Tank Ahmon
Private First Class
Private First Class
Posts: 26
Joined: Fri Feb 11, 2005 8:12 am

Re: BZFriends - A "'who's online' utility

Post by Tut Tank Ahmon » Fri Aug 07, 2009 9:13 am

It's """working""" on mac ??? great news, because i thought that mono support was not very good on apple platform ! :D
Use BZFriends to know who is online ! http://my.bzflag.org/bb/viewtopic.php?f ... 22#p144700

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BZFriends - A "'who's online' utility

Post by joevano » Fri Aug 07, 2009 10:04 am

Tut Tank Ahmon wrote:It's """working""" on mac ??? great news, because i thought that mono support was not very good on apple platform ! :D
Mono support is fine on a Mac...
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

User avatar
Gamma
Private First Class
Private First Class
Posts: 97
Joined: Fri Nov 28, 2008 6:47 pm
Location: USA
Contact:

Re: BZFriends - A "'who's online' utility

Post by Gamma » Thu Aug 20, 2009 1:36 pm

I'm afraid it doesn't work under windows XP. :(

I'm running winxp home and as soon as I click on the "BZFriends" icon I get the errors in the attachments.
The full error report is huge and it doesn't allow copy/past so I have no way to show you guys...
Attachments

[The extension bmp has been deactivated and can no longer be displayed.]

[The extension bmp has been deactivated and can no longer be displayed.]

Image

...BZFlag Forever.

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BZFriends - A "'who's online' utility

Post by joevano » Thu Aug 20, 2009 2:26 pm

The "contents of the error report" (from error2.bmp) would possibly be more helpful. The two images you posted basically just tell us there is an error. Also, would be better to post jpg files for images, if that is an option... bitmaps (bmp) are huge by comparison.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

User avatar
blast
General
General
Posts: 4741
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BZFriends - A "'who's online' utility

Post by blast » Thu Aug 20, 2009 4:56 pm

gmangrey wrote:I'm afraid it doesn't work under windows XP. :(

I'm running winxp home and as soon as I click on the "BZFriends" icon I get the errors in the attachments.
The full error report is huge and it doesn't allow copy/past so I have no way to show you guys...
Did you run it through mono?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Gamma
Private First Class
Private First Class
Posts: 97
Joined: Fri Nov 28, 2008 6:47 pm
Location: USA
Contact:

Re: BZFriends - A "'who's online' utility

Post by Gamma » Thu Aug 20, 2009 5:27 pm

Hmmm... that might be the problem :doh:
lol
No I didn't, I'll try again later with mono. :oops:
Image

...BZFlag Forever.

User avatar
Tut Tank Ahmon
Private First Class
Private First Class
Posts: 26
Joined: Fri Feb 11, 2005 8:12 am

Re: BZFriends - A "'who's online' utility

Post by Tut Tank Ahmon » Mon Aug 24, 2009 7:54 am

Hi folks,

First,sorry gmangrey for lack of support but
- i forgot to activate the notification of new posts on topic
- i often (almost daily) use "view new posts" function in forum and did not see there were new posts here.

So, many thanks to blast and joevano for their help.

This said, I released a new version here https://sourceforge.net/projects/bzfrie ... p/download

This version should be more stable (but uglier ...) , and manage better minimization to system tray (with a tooltip saying who is online).

I'm studying usage of InstallJammer in order to make clean installation under Windows and Linux.

I'm waiting for a bzfriend of mine to draw me a nice icon (I don't say who it is but his callsign begins with a 'z' ;) )

Thanks all
Use BZFriends to know who is online ! http://my.bzflag.org/bb/viewtopic.php?f ... 22#p144700

honeytank
Private First Class
Private First Class
Posts: 15
Joined: Sun Feb 14, 2010 8:45 am

Re: BZFriends - A "'who's online' utility

Post by honeytank » Fri Apr 16, 2010 4:51 am

Is it working with windows 7?
Something included?(little message system, chat etc)

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BZFriends - A "'who's online' utility

Post by joevano » Fri Apr 16, 2010 8:42 am

Just try it... if it works good, if not it doesn't. According tho the stats on sourceforge no one has worked on this for over 7 months.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 321
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: BZFriends - A "'who's online' utility

Post by Cobra_Fast » Fri Apr 16, 2010 10:07 am

It seams like it won't work with Windows XP...
If i double-click the BZFriends.exe the cursor flashes hourglass for a split second and then it's over.

User avatar
strayer
Sergeant Major
Sergeant Major
Posts: 191
Joined: Sat May 24, 2003 3:54 pm
Location: Germany
Contact:

Re: BZFriends - A "'who's online' utility

Post by strayer » Fri Apr 16, 2010 10:35 am

As an alternative, you can use the jabberbot. There's a special bzbb topic with details
A pessimist is an optimist with experience... ;o)

darkid
Private First Class
Private First Class
Posts: 131
Joined: Wed Aug 12, 2009 5:03 pm

Re: BZFriends - A "'who's online' utility

Post by darkid » Sat Apr 17, 2010 1:48 pm

hrm... Mac OSX 10.6.3
failed.
Albeit, i may be missing something.
I downloaded the .zip file and ran the .exe through WINE, but that didn't work.
Darkid--Not a happy camper.

User avatar
blast
General
General
Posts: 4741
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BZFriends - A "'who's online' utility

Post by blast » Sat Apr 17, 2010 2:31 pm

darkid wrote:hrm... Mac OSX 10.6.3
failed.
Albeit, i may be missing something.
I downloaded the .zip file and ran the .exe through WINE, but that didn't work.
Run it with mono, not wine. (which was mentioned numerous times in this thread...)
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Tut Tank Ahmon
Private First Class
Private First Class
Posts: 26
Joined: Fri Feb 11, 2005 8:12 am

Re: BZFriends - A "'who's online' utility

Post by Tut Tank Ahmon » Wed Apr 21, 2010 7:54 am

I abandonned this project to focus on my jabber bot.
As Strayer The Great suggests, use Bzfriends Jabber bot instead.
Use BZFriends to know who is online ! http://my.bzflag.org/bb/viewtopic.php?f ... 22#p144700

tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: BZFriends - A "'who's online' utility

Post by tobylane » Sat Apr 24, 2010 4:27 pm

Maybe an Aduim plugin?

User avatar
blast
General
General
Posts: 4741
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BZFriends - A "'who's online' utility

Post by blast » Sat Apr 24, 2010 6:42 pm

Why can't Aduim use the jabber bot? It supports the jabber protocol.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Post Reply