|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
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!! 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! |
|
|
|
|
#3 (permalink) |
|
Forum Expert
|
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. |
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|