Home Page Items

Started by Vitoc, Apr 19, 2007, 12:12 AM

Previous topic - Next topic

Vitoc

When we do get our full home page going, I have a few pages I've created to add to it:
http://www.vitoc.com/GreaterMUD/Who
http://www.vitoc.com/GreaterMUD/TopList
http://www.vitoc.com/GreaterMUD/TopGangList
http://www.vitoc.com/GreaterMUD/Gossip

The following two urls will return images, making them suitable for forum avatars, sigs, etc.:
http://www.vitoc.com/GreaterMUD/Status
Example:

http://www.vitoc.com/GreaterMUD/PlayerStatus?PlayerID=51
The last one grabs information on my character, who happens to have a PlayerID of 51 in the database.  I'm going to add a way for everyone to retrieve their PlayerID in game so they can get their own ID if they want to use this feature.
Example:


All of these tie directly into the engine, not the database, so they're literally real time.

I'm updating this post as I add them, so they aren't scattered all over.


The Crazy Animal


DeathCow

Could this be setup to work again, I have in in my signature on a couple of forums, it certainly makes me look like an ass to link to

Server Error in '/GreaterMUD' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>




and as you all know, I dont need any help to look like at ass. 26 minutes.

Vitoc

Quote from: DeathCow on May 11, 2007, 05:18 AM
Could this be setup to work again, I have in in my signature on a couple of forums, it certainly makes me look like an ass to link to
and as you all know, I dont need any help to look like at ass. 26 minutes.

Yeah, I'll fix it now.


Vitoc

#4
Man, .NET rocks, I mean seriously...

I essentially built a web server into the GMUDServer.  Here's the new URLs (these probably won't change again):
http://vitoc.com/GreaterMUD/Who
http://vitoc.com/GreaterMUD/TopList
http://vitoc.com/GreaterMUD/TopGangList
http://vitoc.com/GreaterMUD/Status.gif <--- this is an image which renders like below


Edit: I changed it from GMUD to GreaterMUD so old style links should work again


Vitoc

#5
Quote from: ThisSpaceForRent on May 14, 2007, 07:05 AM
Problem loading page.   Problem loading page.  Problem loading page.  Problem loading page.
The downside to this implementation is if something blows up, so do these pages.  There was a bug in the "give" command that threw an exception.  Microsoft, in it's infinite wisdom, decided to make it so if you are debugging a sockets application and an exception is thrown Windows will stop responding to everything; sql server requests, http requests, etc.

Anyway, that bug is fixed and it's back up.


DeathCow

my cat's breathe smells like vitoc

Vitoc



The Crazy Animal

love it but for consistency old messages should be at the top and newest at the bottom.

abc

it would be cool if you could chat to them from that interface as well; (you'd need to log in obviously).

DeathCow

I'm not brave enough yet to make that my forum signature(over yonder)...

Vitoc

Quote from: abc on May 16, 2007, 05:02 PM
it would be cool if you could chat to them from that interface as well; (you'd need to log in obviously).
Yeah.  That's definitely an item on the list.

Once you "log in" you'll be able to chat in realm, get the status of your character, and view stats like exp/hr, crit/dodge %, possibly min/max/avg rounds, etc.  A little further down the road people will probably even be able to control their characters from a web interface.  Of course this type of feature would tie into the whole "server side scripting" thing, which I think people will really get excited about when they realize that would mean don't have to run mega on their own comps anymore.  Imagine a "client" that was built into the server itself; 0 ping (localhost), "client" logic built into the server itself (no text parsing), etc.


Vitoc


;D

We'll have to come up with a way for players to obtain their PlayerID


abc

that image seems to take a long time to load ...

Vitoc

Quote from: abc on May 17, 2007, 01:58 AM
that image seems to take a long time to load ...
I believe that's because my broadband connection sux0rs.  When I check it from my dev box (1 ping) or localhost (0 ping) it literally loads instantaneously, so it's not the image generating code or the built in web server that's causing the delay.  Anything outside of my lan though, and it's like it takes several seconds.  These images are tiny too; the realm status one is like 8kB, and the player status one is 2kB.   

Can someone ping vitoc.com from outside and tell me what kind of pings they're getting?