Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 11-23-2005, 07:32 AM   #1 (permalink)
Forum Expert
 
Viago's Avatar
 
Join Date: Jun 2004
Location: Maine, USA
Age: 25
Posts: 2,703
Send a message via ICQ to Viago Send a message via AIM to Viago Send a message via MSN to Viago Send a message via Yahoo to Viago
Thumbs up New MOTD v1.5

ok, so ive been sitting on some things for a while, and i finaly got around to finishing this MOTD, after testing out the READer on other scripts

here is the skinny:
(quoted from my readme in the rar)
Code:
*note there is a readme in the folder named MOTD in the rar, it tells you what to do with that folder*
so it will look like this Runuo/Data/MOTD

this is simple add and drop,

How you edit? simple edit the html file Current.htm for NOW news 
(adding on to it by putting new news ontop of old news)

then when that month is over, you can rename that file to that previous month lest say March.html
and make a new html file called current.html (make sure to capatilize and spell
the months properly...hopr i did lmao)

all the months html files are included in the MOTD folder. aswell as
the current file.



how this motd works

ok todays month is lets say March, you dont edit the march file but the current

the gump reads the file current.html (i havent fugured out a solid way of doing
a check for todays month. so basicly edit current till the month is over

then put that content in the previous months html file. or just rename current to 
the previous month, and make a new one.

players can view previous months by using the archive buttin

Pressing the pull down will automaticly return the user to current news
they jsut have to press the ^ button to dispose of the archive pulldown


i hope this is explaine asgood as i can for 6am.... ;S so post your Q in the thread!


oh i almost forgot this is a total redo of my motd, meening there is no GM
mode of editing, you can only edit the html files. also the text
to call up the gump is
[motd 
for everyone

---------------------------------------------------------------------
Website and Inserver News!  ---For advanced users---
---------------------------------------------------------------------
also to my knowladge if you are experianced enugh, you can change 
the path from data/.... to web/.... and if you use a webserver on that computer
(like viewing whos online status does) you can make the pages viewable 
on the internet for your site!

JUST DONT ADD ANYTHING TO FANCY to the MOTD html files cause it wont read it

....best use iframes.....

that is if you know what to do.

i havent tried this, due to the fact i nolonger run a webserver
from my computer, post its success/fail in the thread!!
it is verrrry simple to manage, let alone script. not all the coding is mine, i learnt the reading methods off another script( cant remeber its been a while) but other then the reading the file bit its coded its all redone from the ground up. and it has some potential i think. let me know what you think.

oh and one other thing, this does have archiving, but its not automatic, you will have to do it manually. i think next big release of it will take whats on current.html and rename it to that month....but thats later. enjoy for now

this release hopfully solves some probliums of the "old news" factor...

[Update]
stupid me at 6am lol. i forgot the onlogin part!
Attached Images
File Type: jpg new_motd_cap.jpg (239.1 KB, 574 views)
Attached Files
File Type: rar New_MOTD_1_5_By_Viago.rar (237.1 KB, 277 views)
Viago is offline  
Old 11-29-2005, 08:58 PM   #2 (permalink)
Silverblade runs me
 
Join Date: Nov 2003
Location: Dallas,tx
Age: 33
Posts: 55
Send a message via ICQ to Rockrat Send a message via AIM to Rockrat
Default

I got it up and running. Its not bad but had to read your directions twice so i could post my message
Rockrat is offline  
Old 12-01-2005, 03:56 AM   #3 (permalink)
Forum Expert
 
Viago's Avatar
 
Join Date: Jun 2004
Location: Maine, USA
Age: 25
Posts: 2,703
Send a message via ICQ to Viago Send a message via AIM to Viago Send a message via MSN to Viago Send a message via Yahoo to Viago
Default

thanks, it is seemingly harder to do however, its much much easyer to do Since you do NOT need to be ingame to update the files.

when a player looks at the gump, the file is puled from its directory, not writton or stored.

you can edit it outside the game, u dotn need to use a [ command to make the gump update the news.

i am curently workign on som mods to add to this. but i am bussy to, so pleas post here if you need help.

though, it is technicly more efficant to stor it in memory.... =/
__________________
Does Sam Adam's Pee taste like Beer?

Last edited by Viago; 12-01-2005 at 04:05 AM.
Viago is offline  
Old 12-02-2005, 10:50 AM   #4 (permalink)
 
Join Date: May 2004
Location: ohio
Age: 32
Posts: 10
Send a message via AIM to Typo Send a message via MSN to Typo Send a message via Yahoo to Typo
Default

Nice, I like this one with arciving. Thank you very much for it.
Typo is offline  
Old 12-07-2005, 11:49 AM   #5 (permalink)
Account Terminated
 
Join Date: Dec 2005
Posts: 46
Default

Hi,

I think your script is the best MOTD ever !

but is there a way to not show that first gump: VIEW NEWS and go straight to the NEWS GUMP ???

Thank You
ShadowCrow is offline  
 

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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5