|
|
General discussion Topics related to various aspects of Champions of Regnum |
|
Thread Tools | Display Modes |
11-16-2010, 10:43 AM | #31 | |
Pledge
Join Date: Jan 2009
Location: Russia, Kurgan
Posts: 5
|
Quote:
http://tinypaste.com/d76f20 |
|
11-17-2010, 12:22 AM | #32 | |
Apprentice
Join Date: Oct 2008
Posts: 72
|
Quote:
Last edited by ov3rcl0ck; 11-17-2010 at 12:34 AM. |
|
11-17-2010, 11:39 PM | #33 |
Pledge
Join Date: Jan 2009
Location: Russia, Kurgan
Posts: 5
|
|
01-10-2011, 02:36 PM | #34 |
Count
Join Date: Nov 2007
Location: Infinite Improbability Drive
Posts: 1,287
|
I re-wrote the script from scratch to use Xia's JSON status API instead of the rankings page.
The status API: http://rostatus.heroku.com/api The new script: http://pastebin.com/F1aZCG7p It can probably be done a lot cleaner & in fewer lines, I just wrote this between coffee & lunch cause I wanted my conky status back
__________________
Hit me, nail me, make me God. Panoramix :: Half Elf Hunter ## Miraculix :: Half Elf Marksman ## Aspirinix :: Wood Elf Conjurer Syrtis :: Horus :: Antartes |
01-10-2011, 03:15 PM | #35 | |
Banned
Join Date: Dec 2009
Posts: 843
|
Quote:
If there is no update now: -Server is down; -Xia's server cant fetch data; -Widget dosen't connect to xia server; |
|
01-10-2011, 03:29 PM | #36 | |
Count
Join Date: Nov 2007
Location: Infinite Improbability Drive
Posts: 1,287
|
Quote:
I don't like parsing HTML so instead of fixing the previous script, I re-wrote it to use 1 line of JSON that Xia's server provides, much simpler. If the information is not available to anyone, it does not matter what you are using (HTML, JSON, whatever), it will not display valid info. You cannot create information where it does not exist
__________________
Hit me, nail me, make me God. Panoramix :: Half Elf Hunter ## Miraculix :: Half Elf Marksman ## Aspirinix :: Wood Elf Conjurer Syrtis :: Horus :: Antartes |
|
01-11-2011, 10:58 AM | #37 | |
Pledge
Join Date: Jan 2009
Location: Russia, Kurgan
Posts: 5
|
Quote:
|
|
01-12-2011, 06:21 PM | #38 |
Pledge
Join Date: Dec 2010
Posts: 1
|
is this program also available for the german server muspell?
or only ra and horus? |
01-13-2011, 12:08 PM | #39 |
Count
Join Date: Nov 2007
Location: Infinite Improbability Drive
Posts: 1,287
|
You can just change the word "horus" in my python script to "muspel", "niflheim" or whatever server you want, and it will work
__________________
Hit me, nail me, make me God. Panoramix :: Half Elf Hunter ## Miraculix :: Half Elf Marksman ## Aspirinix :: Wood Elf Conjurer Syrtis :: Horus :: Antartes |
04-29-2011, 11:42 PM | #40 |
Initiate
Join Date: May 2010
Location: Europe, Germany
Posts: 128
|
Blow away dust from this thread ...
I re-write Miraculix script: http://pastebin.com/PLr4ugg7 A more compact layout and adapt the new warzone mechanics (including passive realm status). Feel free to customize it on your own needs. PS: Default server at this script is muspell, oops. |
|
|