|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Feb 2005
Location: Fife,Scotland
Age: 40
Posts: 258
|
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" ) )
I've spent ages searching forum but cant find what im looking for |
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Nov 2005
Location: San Diego, CA
Posts: 1,824
|
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// |
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Feb 2005
Location: Fife,Scotland
Age: 40
Posts: 258
|
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! |
|
|
|
|
#5 (permalink) | ||
|
RunUO Forum Moderator
|
Quote:
Quote:
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 ------------------------------------------------------------- |
||
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|