Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Closed Thread
 
Thread Tools Display Modes
Old 02-07-2006, 07:37 PM   #1 (permalink)
Forum Expert
 
Join Date: Feb 2005
Location: Fife,Scotland
Age: 40
Posts: 258
Default web status help please?

How do i get the webstatus page to show on my website?
i am guessing i edit "webstatus.cs" to write to a file on the website?

WebStatus.cs
Code:
		protected override void OnTick()
		{
			if ( !Directory.Exists( "web" ) )
				Directory.CreateDirectory( "web" );

			using ( StreamWriter op = new StreamWriter( "web/status.html" ) )
do i change that writing in red to the address of the webstatus page?
I've spent ages searching forum but cant find what im looking for
orgis is offline  
Old 02-07-2006, 10:29 PM   #2 (permalink)
Forum Expert
 
Courageous's Avatar
 
Join Date: Nov 2005
Location: San Diego, CA
Posts: 1,824
Default

You haven't mentioned how yuor system is configured. The streamwriter writes a local file. If your webserver can be made to access that file, then it will work. But so far, you haven't even mentioned whether or not your webserver is physically colocated with your runuo server.

C//
Courageous is offline  
Old 02-08-2006, 01:03 PM   #3 (permalink)
Forum Expert
 
Join Date: Feb 2005
Location: Fife,Scotland
Age: 40
Posts: 258
Default

ah good point the web server is remote from the RunOU server
can the streamwriter write to a remote location?
or am i totally off the wall here?
orgis is offline  
Old 02-12-2006, 10:34 PM   #4 (permalink)
Forum Expert
 
Join Date: Feb 2005
Location: Fife,Scotland
Age: 40
Posts: 258
Default

i know you are not allowed to bump your posts but please can i have some sort of input to this query thanks

I have searched various search criteria on this and i am still no further forward and getting more and more frustrated each day!
orgis is offline  
Old 02-13-2006, 06:05 AM   #5 (permalink)
RunUO Forum Moderator
 
daat99's Avatar
 
Join Date: Dec 2004
Location: Israel
Age: 27
Posts: 8,163
Send a message via ICQ to daat99 Send a message via AIM to daat99
Default

Quote:
Originally Posted by orgis
i know you are not allowed to bump your posts but please can i have some sort of input to this query thanks

I have searched various search criteria on this and i am still no further forward and getting more and more frustrated each day!
Don't bump your posts!
Quote:
Originally Posted by rules
# If you haven't received a reply to your question do not keep bumping it. Either someone doesn't know the answer or you were too general in asking. Try to provide more detail in order to get an answer.
# If your post should get locked, opening a new topic will result in being banned.
P.S.
You know that it's against the rules and yet you do it anyway???
Don't do it again!
__________________
I always try to help
Sometimes, I don't know how....

My Web Page
Forum Rules
-------------------------------------------------------------
Extensive OWLTR System | Token System | World Teleporters
-------------------------------------------------------------
daat99 is offline  
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5