Just puttin' it out there ...

Go down

Just puttin' it out there ... Empty Just puttin' it out there ...

Post by Eric of Atrophy on Sat Oct 23, 2010 6:54 pm

Heya, The Amethyst Dragon!

I was wondering where the server status little thing went, so when I checked the page on my break at work, I couldn't help but follow the link I found. I like the new status page, it's very cool and very cool ... did I mention it is very cool? Twisted Evil

Constant improvement is one thing that I love about this place ... "Ever-changing world."

Cool!

*and bonus cool points to anyone who can tell me what anime character uttered those words ("Ever-changing world", if you didn't get that). If I recall correctly, there are two possible choices ...*
Eric of Atrophy
Eric of Atrophy
Seriously Epic Level
Seriously Epic Level

. : Dungeon Master
Male Number of posts : 3951
Age : 46
Location : Kea'au, HI, USA
Main Character :
The Vault of Atrophy
NWN Username : atrophied_eric
DM Name : Dungeon Mistress Anaurra Lide
Time Zone : GMT - 10:00 EST (We have our own time zone!)
Registration date : 2008-06-06

View user profile http://myanimelist.net/profile/Eric_of_Atrophy

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by The Amethyst Dragon on Sun Oct 24, 2010 1:21 am

The older one went buh-bye along with serverspy.net. The newer one works ok, but I want to figure out how it's done so I can get just the number of players to refresh right on the homepage without having to follow a link to another page.

_________________
.
------------------------------------- The Amethyst Dragon -------------------------------------
Creator of Aenea | Custom Content Maker | Dungeon Master | Builder | Scripter | Writer | Player | Sleepless
The Amethyst Dragon
The Amethyst Dragon
Ludicrous Level
Ludicrous Level

. : Creator of Aenea / Dungeon Master
Male Number of posts : 7839
Age : 43
Location : probably on the computer or wrangling his offspring
NWN Username : amethystdragon
DM Name : The Amethyst Dragon
Time Zone : GMT - 6:00 (Wisconsin)
Registration date : 2008-06-02

View user profile http://www.amethyst-dragon.com/nwn

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by The Amethyst Dragon on Sun Oct 24, 2010 2:44 am

Another little update to the main page...a Facebook "Like" button on the left-side menu. Razz

_________________
.
------------------------------------- The Amethyst Dragon -------------------------------------
Creator of Aenea | Custom Content Maker | Dungeon Master | Builder | Scripter | Writer | Player | Sleepless
The Amethyst Dragon
The Amethyst Dragon
Ludicrous Level
Ludicrous Level

. : Creator of Aenea / Dungeon Master
Male Number of posts : 7839
Age : 43
Location : probably on the computer or wrangling his offspring
NWN Username : amethystdragon
DM Name : The Amethyst Dragon
Time Zone : GMT - 6:00 (Wisconsin)
Registration date : 2008-06-02

View user profile http://www.amethyst-dragon.com/nwn

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by eeriegeek on Sun Oct 24, 2010 10:47 am

The NWN server uses gamespy protocol version 2. The qstat program can read it. You can run it in batch script every few minutes, or use CGI to run it in real time.

Code:
$ quakestat -default gs2 70.190.83.96:5121
ADDRESS          PLAYERS      MAP  RESPONSE TIME    NAME
70.190.83.96:5121      2/20  0/0  Aenea PW v100    120 / 0  PW Action The World of Aenea

Code:
$ quakestat -R -default gs2 70.190.83.96:5121
ADDRESS          PLAYERS      MAP  RESPONSE TIME    NAME
70.190.83.96:5121      2/20  0/0  Aenea PW v100    123 / 0  PW Action The World of Aenea
   password=0,groupid=278,gamever=8109,gametype=PW Action,gamemode=openplaying,levelrnglow=1,levelrnghigh=40,PVP=FULL,onepartyonly=0,playerpause=0,build=8109,details=Please go to www.amethyst-dragon.com/nwn for full info on this world.

Required:
NWN 1.69
SoU, HotU
CEP 2.3
World of Aenea Files,legalchars=0,itemrestrict=0,localvault=0,expansions=3,location=0,language=0

Behold!
eeriegeek
eeriegeek
Worldly Guide
Worldly Guide

Number of posts : 244
Age : 49
Main Character : Amaerillie
Other Character : K'az T'anii
Other Character. : Xephod
Other Character.. : Eg'bo
NWN Username : eeriegeek
Time Zone : GMT-4
Registration date : 2009-09-20

View user profile

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by The Amethyst Dragon on Sun Oct 24, 2010 6:02 pm

I'm slowly trying to figure out how to do it with PHP. They guy that runs the site with the current status page just altered the title image, switching from the NWN logo to his own site image...and I'd rather be able to do all the formatting myself without advertising.

If there are any PHP coders here, ya got any pointers for me? I've tried several different PHP files off the Vault, but all seem to be getting the "permission denied" error, even though the current status PHP code can access the info just fine. Rolling Eyes

_________________
.
------------------------------------- The Amethyst Dragon -------------------------------------
Creator of Aenea | Custom Content Maker | Dungeon Master | Builder | Scripter | Writer | Player | Sleepless
The Amethyst Dragon
The Amethyst Dragon
Ludicrous Level
Ludicrous Level

. : Creator of Aenea / Dungeon Master
Male Number of posts : 7839
Age : 43
Location : probably on the computer or wrangling his offspring
NWN Username : amethystdragon
DM Name : The Amethyst Dragon
Time Zone : GMT - 6:00 (Wisconsin)
Registration date : 2008-06-02

View user profile http://www.amethyst-dragon.com/nwn

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by daveyeisley on Sun Oct 24, 2010 6:23 pm

I would think that would be an issue with how the info is being accessed?

I'm not much of a coder, but mayhaps you can somehow compare both methods to determine where the difference lies?
daveyeisley
daveyeisley
Ludicrous Level
Ludicrous Level

. : Dungeon Master
Male Number of posts : 6921
Age : 42
Location : Watching Aenea from my Inner Sanctum on the surface of Sharlo, Aenea's Silver Moon
Main Character : Dave's List of PCs
NWN Username : Dave Yeisley
DM Name : Dungeon Master Mythgar
Time Zone : GMT - 5:00
. : Just puttin' it out there ... Forum_donor
Registration date : 2008-06-03

View user profile

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by The Amethyst Dragon on Mon Oct 25, 2010 12:51 am

Testing out a new status thing on the main web page, which should show the player name and character name of those logged in. Refreshes itself every 30 seconds.

This one uses an automated FTP program on the game server to update the website server, which uploads a new copy of a data file every 30 seconds. Still testing this out for stability to make sure I've got all the right settings...seems improper settings in this software can crash the NWN server. Rolling Eyes

Definitely still testing...looks like it crashed me out again. Razz


Nevermind. Scrapping this one until I can reliably upload the data file without crashing the server every 1 1/2 minutes. Server is back online running normally.

_________________
.
------------------------------------- The Amethyst Dragon -------------------------------------
Creator of Aenea | Custom Content Maker | Dungeon Master | Builder | Scripter | Writer | Player | Sleepless
The Amethyst Dragon
The Amethyst Dragon
Ludicrous Level
Ludicrous Level

. : Creator of Aenea / Dungeon Master
Male Number of posts : 7839
Age : 43
Location : probably on the computer or wrangling his offspring
NWN Username : amethystdragon
DM Name : The Amethyst Dragon
Time Zone : GMT - 6:00 (Wisconsin)
Registration date : 2008-06-02

View user profile http://www.amethyst-dragon.com/nwn

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by The Amethyst Dragon on Sun Oct 31, 2010 12:27 pm

New player status information on the main page now active (and should be without server crashes!).

Player status gets updated on the server every round, which then gets uploaded to the website server every 30 seconds, which gets read by a php page that refreshes itself every 30 seconds while shown in a mini-frame on the main page. I just had to figure out how to keep the ftp program from crashing the server software...turns out a little vbs script that copies and renames the data file before uploading does the trick.

Happy Halloween! Just puttin' it out there ... 867921

_________________
.
------------------------------------- The Amethyst Dragon -------------------------------------
Creator of Aenea | Custom Content Maker | Dungeon Master | Builder | Scripter | Writer | Player | Sleepless
The Amethyst Dragon
The Amethyst Dragon
Ludicrous Level
Ludicrous Level

. : Creator of Aenea / Dungeon Master
Male Number of posts : 7839
Age : 43
Location : probably on the computer or wrangling his offspring
NWN Username : amethystdragon
DM Name : The Amethyst Dragon
Time Zone : GMT - 6:00 (Wisconsin)
Registration date : 2008-06-02

View user profile http://www.amethyst-dragon.com/nwn

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by daveyeisley on Sun Oct 31, 2010 12:59 pm

good stuff!
daveyeisley
daveyeisley
Ludicrous Level
Ludicrous Level

. : Dungeon Master
Male Number of posts : 6921
Age : 42
Location : Watching Aenea from my Inner Sanctum on the surface of Sharlo, Aenea's Silver Moon
Main Character : Dave's List of PCs
NWN Username : Dave Yeisley
DM Name : Dungeon Master Mythgar
Time Zone : GMT - 5:00
. : Just puttin' it out there ... Forum_donor
Registration date : 2008-06-03

View user profile

Back to top Go down

Just puttin' it out there ... Empty Re: Just puttin' it out there ...

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum