| The Mana World http://forums.themanaworld.org/ |
|
| The Mana World Buddy http://forums.themanaworld.org/viewtopic.php?f=4&t=3985 |
Page 1 of 2 |
| Author: | WesJanson [ Mon Apr 07, 2008 9:12 pm ] |
| Post subject: | The Mana World Buddy |
Hi all! I saw a VB app a while back that managed a "buddy list", but I run Linux so that's a no go. Anyway, I wrote a quick one with cURL and gtk and thought I'd share. http://static.velvetcache.org/projects/tmwbuddy/ ![]() The site has source with an install script, as well as a compiled x86 version with install script. If people like it, I can add on to it with time. I think that there is guild and buddy list stuff being worked on in the TMW source (from commit logs I read) so I guess this will probably just be a temporary solution until that stuff gets pushed out. Hope you all like it! P.S. Didn't know if this was the right forums thread for it, so admins please move me if I'm wrong EDITED: Current version is 0.0.3. Be aware that the install script may be buggy. Please post all bugs here or through the contact form on the website.
|
|
| Author: | GonzoDark [ Mon Apr 07, 2008 10:30 pm ] |
| Post subject: | Re: The Mana World Buddy |
It installs without any problems, really nice. But there is 2 things I kinda miss; 1. I wish to see the online list when I open the program, then I can right click on those I want to add and chose a option "add buddy"? Instead of having to type the name for myself, and could you make that online list+my friends "auto update" fx. every 30 sec? ( maybe this will help? http://server.themanaworld.org/online.html ) 2. Can you make a system tray icon? and a Gnome menu button? Besides for those 2 minor things, I think it is working great - It is saving my buddy's when I log off and showing them when I log on. Say hi to Lusankya from IchigoBlack // GonzoDark |
|
| Author: | WesJanson [ Tue Apr 08, 2008 2:19 am ] |
| Post subject: | Re: The Mana World Buddy |
Wow, glad it worked for somebody else As to your items... 1) I'm going to incorporate an adjustable refresh time, and I'll do that with the add buddy dialog as well. 2) No idea how that works, but I'll look into it. Watch this thread for updates! |
|
| Author: | GonzoDark [ Tue Apr 08, 2008 12:41 pm ] |
| Post subject: | Re: The Mana World Buddy |
WesJanson wrote: Wow, glad it worked for somebody else As to your items... 1) I'm going to incorporate an adjustable refresh time, and I'll do that with the add buddy dialog as well. 2) No idea how that works, but I'll look into it. Watch this thread for updates! can't wait for the updates =) // GonzoDark |
|
| Author: | WesJanson [ Mon Apr 21, 2008 9:29 pm ] |
| Post subject: | Re: The Mana World Buddy |
Okay! Long time coming but I have something for you CHANGES
The installer should clean up any old versions, just run as root. One other item is that it uses a configuration file library I wrote, libvcconfig. There are links to that on the project page, and it's dead simple to install as well. I promise I'll get around to that add buddy/online list thing next! Please put any bugs or feature requests in this thread, or use the contact form on the site. http://static.velvetcache.org/projects/tmwbuddy/ |
|
| Author: | GonzoDark [ Mon Apr 21, 2008 10:49 pm ] |
| Post subject: | Re: The Mana World Buddy |
I got some problems here; First I needed the libgtkmm-2.4-dev (you might want to add this to dependencies) Then I ran the installer one more time; Quote: lk@lk-laptop:~/Skrivebord/ROD/TMWBuddy-0.0.2-src$ sudo sh install -e \E[01;36mThis script will attempt to install (or update) The Mana World Buddy on your machine.\E[01;0m -en \E[01;33mContinue? \E[01;0m[\E[01;32my\E[01;0m/\E[01;31mN\E[01;0m] y -e \E[01;36mCleaning up build directory.\E[01;0m -e \E[01;36mBuilding software.\E[01;0m g++ -Wall -g `pkg-config gtkmm-2.4 --cflags` `curl-config --cflags` -c main.cpp -o main.o I filen inkluderet af main.cpp:24: mainWindow.h:36:22: error: vcConfig.h: No such file or directory mainWindow.h:50: fejl: ‘vcConfig’ does not name a type server.h:31: advarsel: ‘int tmwb::curlWriter(char*, size_t, size_t, std::string*)’ defined but not used make: *** [main.o] Fejl 1 -e \E[01;31mSomething went wrong in the build. Check it out.\E[01;0m It did not work, and the Quote: DEFAULT="\E[01;0m" RED="\E[01;31m" YELLOW="\E[01;33m" TEAL="\E[01;36m" BLUE="\E[01;34m" GREEN="\E[01;32m" does not work in Ubuntu 7.10 or 8.04. // GonzoDark EDIT: Forgot to install the libvcconfig - trying it out right now New EDIT: Can't install the libvcconfig; Code: lk@lk-laptop:~/Skrivebord/ROD/libvcconfig-1.0.0-x86$ sudo sh install.sh -e \E[01;36mThis script will attempt to install (or update) libvcconfig on your machine.\E[01;0m -en \E[01;33mContinue? \E[01;0m[\E[01;32my\E[01;0m/\E[01;31mN\E[01;0m] Y cp: kan ikke udføre stat() 'vcConfig.h': No such file or directory -e \E[01;31mCouldn't copy the header file to /usr/include/.\E[01;0m The new EDIT: Got the problem fixed with installing the src. but I can't find any link in the gnome menu, and the link on my desktop does not work (but it is there) |
|
| Author: | WesJanson [ Mon Apr 21, 2008 11:06 pm ] |
| Post subject: | Re: The Mana World Buddy |
Oops! Forgot the header file in the compiled libvcconfig release, should be fixed now and is on website. Here's a shortcut: http://static.velvetcache.org/projects/ ... x86.tar.gz Should all work now, I'm looking into the echo problem with Ubuntu. I guess I need a better test environment |
|
| Author: | GonzoDark [ Tue Apr 22, 2008 12:21 am ] |
| Post subject: | Re: The Mana World Buddy |
I edited the desktop link and added "TMWBuddy" under "shortcut" "command", so now it works, but it would be great if that worked from the start The program can also be opened from the terminal with the same command "TMWBuddy". So I got the program up and running, and it looks great. (and nice ikon by the way) Keep up the good work // GonzoDark |
|
| Author: | WesJanson [ Tue Apr 22, 2008 12:24 am ] |
| Post subject: | Re: The Mana World Buddy |
I'll roll that in too. Thanks for being a faithful tester |
|
| Author: | GonzoDark [ Tue Apr 22, 2008 12:31 am ] |
| Post subject: | Re: The Mana World Buddy |
Hehe, no problem Forgot to say that I now see a icon in the top screen (with my skype icon and xchat icon), in my top menu-bar, but when I minimize the program it just minimizes to the bottom-bar instead of the top-bar. So if you could look into that 2, then it would be awesome // GonzoDark |
|
| Author: | WesJanson [ Thu Apr 24, 2008 5:40 am ] |
| Post subject: | Re: The Mana World Buddy |
Another update! This one finally brings the online users list into the add buddy dialog. ![]() Also the install script should do some basic dependency checking. No other real additional fixes, I am working on setting up some virtual machines with different distros and such so that I can test this better, but this versions just going to have to be another "buggy" one. Still TODO:
As always, it's at http://static.velvetcache.org/projects/tmwbuddy Also, there are now some really low-quality videos there for if you want to preview what it does |
|
| Author: | GonzoDark [ Thu Apr 24, 2008 10:06 am ] |
| Post subject: | Re: The Mana World Buddy |
Quote: fi echo -e "${TEAL}Checking for libvcconfig${DEFAULT}" ldconfig -p | grep libvcconfig if [ $? -ne 0 ]; then echo -e "${RED}Couldn't find libvcconfig.\nTry http://static.velvetcache.org/projects/libvcconfig${DEFAULT}" exit 1 when I run that part of the sh script I get Quote: -e \E[01;36mChecking for libvcconfig\E[01;0m -e \E[01;31mCouldn't find libvcconfig. Try http://static.velvetcache.org/projects/libvcconfig\E[01;0m and when I ran ldconfig -p | grep libvcconfig after I had installed the libvccongfig-file, I got this: Quote: gonzodark@gonzodark-desktop:~/Skrivebord/libvcconfig-1.0.0-x86$ sudo sh install.sh -e \E[01;36mThis script will attempt to install (or update) libvcconfig on your machine.\E[01;0m -en \E[01;33mContinue? \E[01;0m[\E[01;32my\E[01;0m/\E[01;31mN\E[01;0m] y -e \E[01;32mlibvcconfig installed successfully!\E[01;0m gonzodark@gonzodark-desktop:~/Skrivebord/libvcconfig-1.0.0-x86$ sudo ldconfig -p | grep libvcconfig It should be like; Quote: gonzodark@gonzodark-desktop:~/Skrivebord/TMWBuddy-0.0.3-x86$ ldconfig -p | grep libcurl libcurl.so.4 (libc6) => /usr/lib/libcurl.so.4 libcurl-gnutls.so.4 (libc6) => /usr/lib/libcurl-gnutls.so.4 libcurl-gnutls.so (libc6) => /usr/lib/libcurl-gnutls.so So the problem is that I have the libvcconfig installed but there is no link to the file, so my computer thinks that I don't have it. But it looks great from the image you posted Hope it will get fixed soon so I can test it out Keep up the good work // GonzoDark |
|
| Author: | GonzoDark [ Thu Apr 24, 2008 10:25 am ] |
| Post subject: | Re: The Mana World Buddy |
I did a little test to locate the problem: Quote: gonzodark@gonzodark-desktop:~/Skrivebord/libvcconfig-1.0.0-x86$ sudo ldconfig -p | grep libvc libvcdinfo.so.0 (libc6) => /usr/lib/libvcdinfo.so.0 libvcard.so.0 (libc6) => /usr/lib/libvcard.so.0 gonzodark@gonzodark-desktop:~/Skrivebord/libvcconfig-1.0.0-x86$ sudo ldconfig -p | grep libvcconfig.so gonzodark@gonzodark-desktop:~/Skrivebord/libvcconfig-1.0.0-x86$ locate libvcconfig /home/gonzodark/Skrivebord/libvcconfig-1.0.0-x86 /home/gonzodark/Skrivebord/libvcconfig-1.0.0-x86.tar.gz /usr/lib/libvcconfig.so /usr/lib/libvcconfig.so.1 /usr/lib/libvcconfig.so.1.0.0 As you see I got the file, but it is not working as it should. I should be able to locate the file with a symbolic link, with this code "sudo ldconfig -p | grep libvc" or else I will not pass the test, and besides it would not work if I did, if the symbolic link does not work =/ Hope you are able to fix the problem now, since I have located it // GonzoDark |
|
| Author: | WesJanson [ Thu Apr 24, 2008 4:17 pm ] |
| Post subject: | Re: The Mana World Buddy |
Hmmm.... That's a weird one. The only thing I can think of is that the links are there so it works, but the ld cache isn't current. Try running "ldconfig" then running the "ldconfig -p | grep libvcconfig" again. I guess my clever plan for helping users find missing dependencies has a flaw If that doesn't work, just remove the libvcconfig check part from the script. Sorry that there is always a hassle! |
|
| Author: | GonzoDark [ Thu Apr 24, 2008 10:27 pm ] |
| Post subject: | Re: The Mana World Buddy |
WesJanson wrote: Hmmm.... That's a weird one. The only thing I can think of is that the links are there so it works, but the ld cache isn't current. Try running "ldconfig" then running the "ldconfig -p | grep libvcconfig" again. I guess my clever plan for helping users find missing dependencies has a flaw If that doesn't work, just remove the libvcconfig check part from the script. Sorry that there is always a hassle! That fixed the first problem... BUT I got a new problem - "Could not load buddy file!" <-- I get that error when I try to open the program. So if you could fix that last problem, THEN I will finally get to test it =) keep up the good work hehe // GonzoDark |
|
| Page 1 of 2 | All times are UTC - 1 hour |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|