View unanswered posts | View active topics It is currently Thu May 23, 2013 9:54 pm

Forum rules


Before posting make sure you have done the following:
  • Checked for an update
  • Read the plugin's supplied documentation
  • Read the General Plugin FAQ
  • Read the plugin's FAQ

Only moderators can post a new topic, so if you have a new plugin, create a thread in the BB4Win forum and we'll move it for ya.



Post new topic Reply to topic  [ 98 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
 BBsky 
Author Message
BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 184
Location: Czech Republic
Reply with quote
Post BBsky
Quote:
BBsky is a plugin for BBlean which displays actual weather state.


Links
Latest Release
Official Homepage

FAQ


Last edited by pitris on Mon Jan 14, 2008 2:46 pm, edited 1 time in total.



Sat Aug 04, 2007 5:14 am
Report this post
Profile WWW
Sponsored Links
Google Adsense


BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
Is still can make it work.
Cant find my coordonates City Timisoara. In the Yahoo webpage on weather.
Pls help.


Mon Sep 03, 2007 2:53 pm
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
BBsky.locations: 1

BBsky.location[1].name: Praha
BBsky.location[1].url: http://xml.weather.yahoo.com/forecastrss?p=EZXX0012&u=c
BBsky.location[1].definition: yahooweather.def
BBsky.location[1].x: 20
BBsky.location[1].y: 10

Theez were the initial script now i made some modificasions to were i live:

BBsky.locations: 1

BBsky.location[1].name: Timisoara
BBsky.location[1].url: http://xml.weather.yahoo.com/forecastrss?p=ROXX0040&u=c
BBsky.location[1].definition: yahooweather.def
BBsky.location[1].x: X
BBsky.location[1].y: Y

PLS PLS PLS I CANT FIND THE : BBsky.location[1].x: BBsky.location[1].y:
COORDONATES for Timisoara country Romania
PLS HELP IM LOST IN THE BOX AND A NEWBEE


Mon Sep 03, 2007 3:19 pm
Report this post
Profile
BBWise

Joined: Fri Jun 08, 2007 8:10 pm
Posts: 42
Location: Germany
Reply with quote
Post Re: BBsky
bblite_user wrote:
BBsky.locations: 1

BBsky.location[1].name: Praha
BBsky.location[1].url: http://xml.weather.yahoo.com/forecastrss?p=EZXX0012&u=c
BBsky.location[1].definition: yahooweather.def
BBsky.location[1].x: 20
BBsky.location[1].y: 10

Theez were the initial script now i made some modificasions to were i live:

BBsky.locations: 1

BBsky.location[1].name: Timisoara
BBsky.location[1].url: http://xml.weather.yahoo.com/forecastrss?p=ROXX0040&u=c
BBsky.location[1].definition: yahooweather.def
BBsky.location[1].x: X
BBsky.location[1].y: Y

PLS PLS PLS I CANT FIND THE : BBsky.location[1].x: BBsky.location[1].y:
COORDONATES for Timisoara country Romania
PLS HELP IM LOST IN THE BOX AND A NEWBEE


these x/y are screen coordinates not geographical coordinates, it defines where the all info of the current location shows up (only useful if you define mor than one location).

for example if you define following settings:

BBsky.x: 100
BBsky.y: 100

BBsky.titleCaption.x: 50
BBsky.titleCaption.y: 0

BBsky.location[1].x: 10
BBsky.location[1].y: 10

BBsky.location[2].x: 20
BBsky.location[2].y: 20

So for the first location the coordinates for the caption are

x = 100 + 10 + 50 = 160
y = 100 + 10 + 0 = 110

So for the second location the coordinates for the caption are

x = 100 + 20 + 50 = 170
y = 100 + 20 + 0 = 120


Mon Sep 03, 2007 5:27 pm
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
OMFG u guiz dont undesrstand me i SAD THAT BBSKY DOSENT SHOW ANY WETHAR INFO FOR MY LOCATION

THIS FUKING LINK IS THE ONE THAT BEACHI YAHOO HAS SHOWN: :evil: :evil: #-o #-o
http://xml.weather.yahoo.com/forecastrss?p=ROXX0040&u=c
SO WHY DOSENT NNSKY SHOW ANY INFO ABOUT MY LOCATION?????????? :x #-o #-o
I WANT ONLY 1 INSTANCE ( 1 city ) DOES ANY 1 NOU HOW CAN I FIX DHIS. :x


Mon Sep 03, 2007 6:13 pm
Report this post
Profile
BBWise

Joined: Fri Jun 08, 2007 8:10 pm
Posts: 42
Location: Germany
Reply with quote
Post Re: BBsky
i've tested ROXX0040 and all works fine ... are you really using the nightly build of bbsky?

edit:
ahh now i understand ... make these changes:
pitris wrote:
There are some changes:
To .rc:
- for all labels, replace .tokenID with .id
- remove BBsky.icons.unknown.path: and instead of that add one more icon with id I_UNKNOWN
To .def:
- remove define.mainToken.regexp: and add one more token with id T_MAIN


for more infos please read the bbsky thread:
viewtopic.php?f=4&t=1808&start=60&st=0&sk=t&sd=a


Mon Sep 03, 2007 7:03 pm
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
Now u are making sense, thx i =D> will try later today now i play counter-strike 1.5 =)) =P~


Tue Sep 04, 2007 11:46 am
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
LIKE THIS:

BBsky.x: 100
BBsky.y: 100
BBsky.width: 100
BBsky.height: 130
BBsky.timer: 15
BBsky.alphaEnabled: false
BBsky.alphaValue: 100
BBsky.sctEnabled: false
BBsky.sctColor: #aaaaaa
BBsky.alwaysOnTop: false
BBsky.pluginToggle: true
BBsky.errorShout: true
BBsky.autoUpdateEnabled: true

# visual definitions --------------------------------------------------
BBsky.titleCaption.x: 50
BBsky.titleCaption.y: 0
BBsky.titleIcon.x: 25
BBsky.titleIcon.y: 15
BBsky.titleFontRise: 3

# icon defitions ------------------------------------------------------
BBsky.icons.iconCount: 11

BBsky.icons.icon[1].id: I_SUNNY
BBsky.icons.icon[1].path: images\_sunny.ico
BBsky.icons.icon[2].id: I_PCLOUDY
BBsky.icons.icon[2].path: images\_partly-cloudy.ico
BBsky.icons.icon[3].id: I_PCLOUDY_N
BBsky.icons.icon[3].path: images\_partly-cloudy-night.ico
BBsky.icons.icon[4].id: I_MCLOUDY
BBsky.icons.icon[4].path: images\_mostly-cloudy.ico
BBsky.icons.icon[5].id: I_MCLOUDY_N
BBsky.icons.icon[5].path: images\_mostly-cloudy-night.ico
BBsky.icons.icon[6].id: I_CLOUDY
BBsky.icons.icon[6].path: images\_cloudy.ico
BBsky.icons.icon[7].id: I_LRAIN
BBsky.icons.icon[7].path: images\_light-rain.ico
BBsky.icons.icon[8].id: I_HRAIN
BBsky.icons.icon[8].path: images\_heavy-rain.ico
BBsky.icons.icon[9].id: I_RAIN
BBsky.icons.icon[9].path: images\_rain.ico
BBsky.icons.icon[10].id: I_STORM
BBsky.icons.icon[10].path: images\_storm.ico
BBsky.icons.icon[11].id: I_MOON
BBsky.icons.icon[11].path: images\_moon.ico

BBsky.icons.unknown.path: I_UNKNOWN

# label definitions ---------------------------------------------------
BBsky.labels.labelCount: 3

BBsky.labels.label[1].id: T_SKY
BBsky.labels.label[1].caption:
BBsky.labels.label[1].icon: images\earth.ico
BBsky.labels.label[1].left: 6
BBsky.labels.label[1].right: 90
BBsky.labels.label[1].y: 60
BBsky.labels.label[1].tab_x: 20
BBsky.labels.label[1].tab_y: 2
BBsky.labels.label[2].id: T_TEMP
BBsky.labels.label[2].caption: Temp [°C]
BBsky.labels.label[2].left: 8
BBsky.labels.label[2].right: 90
BBsky.labels.label[2].y: 75
BBsky.labels.label[2].tab_x: 0
BBsky.labels.label[2].tab_y: 2
BBsky.labels.label[3].id: T_WIND
BBsky.labels.label[3].caption: Wind [kmph]
BBsky.labels.label[3].left: 8
BBsky.labels.label[3].right: 90
BBsky.labels.label[3].y: 90
BBsky.labels.label[3].tab_x: 0
BBsky.labels.label[3].tab_y: 2

# location definitions --------------------------------------------------

BBsky.locations: 1

BBsky.location[1].name: Timisoara
BBsky.location[1].url: http://xml.weather.yahoo.com/forecastrss?p=ROXX0040&u=c
BBsky.location[1].definition: yahooweather.def
BBsky.location[1].x: 10
BBsky.location[1].y: 10




STILL DOSENT WORCK [-X


Tue Sep 04, 2007 11:51 am
Report this post
Profile
BBWise

Joined: Fri Jun 08, 2007 8:10 pm
Posts: 42
Location: Germany
Reply with quote
Post Re: BBsky
NO! try this:
Code:
define.token[4].id: T_MAIN
define.token[4].regexp: <yweather:condition.*code="(.*)"

BBsky.icons.icon[12].id:        I_UNKNOWN
BBsky.icons.icon[12].path:      images\_unknown.ico


Tue Sep 04, 2007 1:27 pm
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
OKy il try this


Tue Sep 04, 2007 1:44 pm
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
Were do i place thees script.

define.token[4].id: T_MAIN
define.token[4].regexp: <yweather:condition.*code="(.*)"


Tue Sep 04, 2007 1:50 pm
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
wen i replace the line with I_UNKNOWN in the icon section of bbsky.rc

I ghet the folowing error wen i right click => (reed) the bbsky.rc
The error is like this:

Cannot load icon

D:\BBLEAN_116\PLUGINS\BBSKY\I_UNKNOWN

How can i fix this the line is (i supose): BBsky.icons.unknown.path: I_UNKNOWN


TELL ME STEP BY STEP OR POST HEAR THE HOLE BBSKY.rc SCRIPT SO I JUST COPY AND PASTE IN MY bbsky.rc PLS
IM A Newbee 100%. #-o


Tue Sep 04, 2007 2:03 pm
Report this post
Profile
BBWise

Joined: Fri Jun 08, 2007 8:10 pm
Posts: 42
Location: Germany
Reply with quote
Post Re: BBsky
bblite_user wrote:
Were do i place thees script.

define.token[4].id: T_MAIN
define.token[4].regexp: <yweather:condition.*code="(.*)"

please read my posts:
pitris wrote:
To .def:
- remove define.mainToken.regexp: and add one more token with id T_MAIN

dont forget to set "define.tokenCount" to the new value (in this example: 4)

bblite_user wrote:
wen i replace the line with I_UNKNOWN in the icon section of bbsky.rc

I ghet the folowing error wen i right click => (reed) the bbsky.rc
The error is like this:

Cannot load icon

D:\BBLEAN_116\PLUGINS\BBSKY\I_UNKNOWN

How can i fix this the line is (i supose): BBsky.icons.unknown.path: I_UNKNOWN


TELL ME STEP BY STEP OR POST HEAR THE HOLE BBSKY.rc SCRIPT SO I JUST COPY AND PASTE IN MY bbsky.rc PLS
IM A Newbee 100%. #-o

"path" means the path to the Icon-File, I_UNKNOWN is an "id", so replace
Code:
BBsky.icons.unknown.path: I_UNKNOWN

with
Code:
BBsky.icons.icon[12].id:        I_UNKNOWN
BBsky.icons.icon[12].path:      images\_unknown.ico

dont forget to set "BBsky.icons.iconCount" to the new value (in this example: 12)


Tue Sep 04, 2007 2:21 pm
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
My bbsky looks like this!! :cry:

Cant seem to worck :cry:


Attachments:
File comment: This is a photo of my stile and the bbsky that dosent seem to worck
My stile.bmp
My stile.bmp [ 1.37 MiB | Viewed 3012 times ]
Tue Sep 04, 2007 6:05 pm
Report this post
Profile
BBAdult

Joined: Sun Sep 02, 2007 2:37 pm
Posts: 25
Reply with quote
Post Re: BBsky
Pls view my atachement so that u see.
Pls and post hear not a fragment of the script but the hole script itself.
Or provide a link were uf uploaded the .sr so that i dounload'it [-o<


Tue Sep 04, 2007 6:09 pm
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 98 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.