Guild Wars Forums - GW Guru
 
 

Go Back   Guild Wars Forums - GW Guru > Forest of True Sight > Technician's Corner > Software

Notices

Reply
 
Thread Tools Display Modes
Old Dec 27, 2011, 10:21 PM // 22:21   #1
Krytan Explorer
 
lorazcyk's Avatar
 
Join Date: Jul 2007
Location: guildwiki.org/User:Lorazcyk
Profession: Mo/
Advertisement

Disable Ads
Default Script (Linux) for Daily Zaishen

Edit:
Nevermind, did it myself. See below.


Quote:
Looking for someone to make me a shell/python/whatever script (I use Linux) that fetches info from
http://wiki.guildwars.com/wiki/Daily_activities

And writes in a text file, in separate lines:
Today's ZMission
Today's ZVanquish
Tomorrow's ZMission
Tomorrow's ZVanquish

I want to use it on my conky, but I can take care of that part.
Thank you... if you want payment of some sort, please send me a private message.


Here's how I did it:




Replace USERNAME with your unix username in this file:
http://pastie.org/pastes/3082285/text
Save the file to /home/USERNAME/.conky/conky_zaishen.sh and make it executable with chmod +x /home/USERNAME/.conky/conky_zaishen.sh

On your .conkyrc, add this:
Code:
${color2}${hr}${color}
${execi 2024   ~/.conky/conky_zaishen.sh}
${color1}Today's Zaishen:${color}
${execi 2024 sed -n '763p' ~/.conky/conky_zaishen/zaishen-data}  &  ${execi 2024 sed -n '802p' ~/.conky/conky_zaishen/zaishen-data}

${color1}Tomorrow:${color}
${execi 2024 sed -n '867p' ~/.conky/conky_zaishen/zaishen-data}  &  ${execi 2024 sed -n '906p' ~/.conky/conky_zaishen/zaishen-data}

Use at your own risk, I have only used it since this moment and I don't know if it will work day after day.

I just modified the weather script (written by this guy).

I guess this post is now more appropriate at the Community Works subforum :P

Last edited by lorazcyk; Dec 28, 2011 at 01:21 AM // 01:21..
lorazcyk is offline   Reply With Quote
Reply

Share This Forum!  
 
 
           

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:47 AM // 00:47.


Powered by: vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
jQuery(document).ready(checkAds()); function checkAds(){if (document.getElementById('adsense')!=undefined){document.write("_gaq.push(['_trackEvent', 'Adblock', 'Unblocked', 'false',,true]);");}else{document.write("