Page 1 of 2

BZFriends - A "'who's online' utility

Posted: Thu Aug 06, 2009 10:09 am
by Tut Tank Ahmon
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

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

Posted: Thu Aug 06, 2009 12:02 pm
by tobylane
The file you put up two hours ago can't be found. Good luck, and I'll help where I can.

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

Posted: Thu Aug 06, 2009 12:15 pm
by blast
Try a different mirror.

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

Posted: Thu Aug 06, 2009 1:18 pm
by tobylane
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

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

Posted: Thu Aug 06, 2009 1:37 pm
by Tut Tank Ahmon
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 ?

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

Posted: Thu Aug 06, 2009 2:58 pm
by blast
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.

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

Posted: Thu Aug 06, 2009 3:07 pm
by Tut Tank Ahmon
I was expecting something like that ; Ty blast :)

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

Posted: Thu Aug 06, 2009 9:47 pm
by clarahobbs
Or, to fix the ^M problem, just run the file through the dos2unix program. That would automatically convert the line endings.

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

Posted: Fri Aug 07, 2009 8:53 am
by tobylane
Sorry yes of course, I did it on mac. http://img37.yfrog.com/img37/9605/bzfri.png

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

Posted: Fri Aug 07, 2009 9:13 am
by Tut Tank Ahmon
It's """working""" on mac ??? great news, because i thought that mono support was not very good on apple platform ! :D

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

Posted: Fri Aug 07, 2009 10:04 am
by joevano
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...

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

Posted: Thu Aug 20, 2009 1:36 pm
by Gamma
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...

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

Posted: Thu Aug 20, 2009 2:26 pm
by joevano
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.

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

Posted: Thu Aug 20, 2009 4:56 pm
by blast
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?

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

Posted: Thu Aug 20, 2009 5:27 pm
by Gamma
Hmmm... that might be the problem :doh:
lol
No I didn't, I'll try again later with mono. :oops:

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

Posted: Mon Aug 24, 2009 7:54 am
by Tut Tank Ahmon
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

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

Posted: Fri Apr 16, 2010 4:51 am
by honeytank
Is it working with windows 7?
Something included?(little message system, chat etc)

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

Posted: Fri Apr 16, 2010 8:42 am
by joevano
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.

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

Posted: Fri Apr 16, 2010 10:07 am
by Cobra_Fast
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.

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

Posted: Fri Apr 16, 2010 10:35 am
by strayer
As an alternative, you can use the jabberbot. There's a special bzbb topic with details

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

Posted: Sat Apr 17, 2010 1:48 pm
by darkid
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.

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

Posted: Sat Apr 17, 2010 2:31 pm
by blast
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...)

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

Posted: Wed Apr 21, 2010 7:54 am
by Tut Tank Ahmon
I abandonned this project to focus on my jabber bot.
As Strayer The Great suggests, use Bzfriends Jabber bot instead.

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

Posted: Sat Apr 24, 2010 4:27 pm
by tobylane
Maybe an Aduim plugin?

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

Posted: Sat Apr 24, 2010 6:42 pm
by blast
Why can't Aduim use the jabber bot? It supports the jabber protocol.