Go Back   AvaMods 5.o Forums > AvaMods - Server > Server / Mod Support
       Log In
Log In | Lost Password | Register


Server / Mod Support Discuss our servers - Questions, requests, complaints, etc.. Need help with your server? Have any amxx questions/suggestions?

Reply
Views: 2454 - Replies: 22  
Share LinkBack Thread Tools
  #11 (permalink)   diamond-optic is Special  
Old September 13th, 2006
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,258
Default

well if you're taking the html code and putting that right in the motd.txt file that might be why..

let me know if thats what you're doing and i'll tell you the better way

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.

Reply With Quote
  #12 (permalink)  
Old September 13th, 2006
forum member
 
Join Date: September 11th, 2006
Status: No Status
Posts: 28
Default

Quote: Originally Posted by diamond-optic
well if you're taking the html code and putting that right in the motd.txt file that might be why..

let me know if thats what you're doing and i'll tell you the better way



I think thats what I am doing. :(
Reply With Quote
  #13 (permalink)  
Old September 13th, 2006
forum member
 
Join Date: September 11th, 2006
Status: No Status
Posts: 28
Default

yeh... I just checked, I put it in the motd.txt
Reply With Quote
  #14 (permalink)   diamond-optic is Special  
Old September 13th, 2006
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,258
Default

ok the most simple way for me to attempt and explain this is as follows: lol..

open:
http://southparktunes.com/dod/new_motd_logo1.jpg
and Right Click > Save Image As.. and save that to your PC.. then take that file and upload it to your webhost..

for the sake of an example.. lets say you put it in:
http://fullcontactgamers.jcbgaming.com/motd/

open:
http://southparktunes.com/dod/new_motd.htm
in your browser.. then goto FILE > SAVE PAGE AS and save it to your PC.. then using notepad open the .htm file. In notepad, make any changes to the code that you want.. like rules etc etc...

also find this line:
Code:
http://southparktunes.com/dod/new_motd_logo1.jpg

and change it to match the address where you uploaded the logo jpg file..

*following example*
http://fullcontactgamers.jcbgaming.c...motd_logo1.jpg

....then save the file (keeping it as the .htm file) and upload that to the webhost (same folder that you put the logo file in)


now you should be all set with the webhost...

next take the "motd.txt" file thats located on the gameserver and put this:
HTML Code:
<html><frameset cols="*" framespacing="0" frameborder="no" border="0"> <frame src="http://southparktunes.com/dod/motdAd.htm" name="frame_main" /> </frameset> </html>

just change the:
http://southparktunes.com/dod/motdAd.htm
line to where ever you uploaded your motd.htm file
....following the example, that would be:
http://fullcontactgamers.jcbgaming.c...d/new_motd.htm

then save that file and upload it to your gameserver



all should be working after that..

*also* feel free to rename the logo jpg or the motd.htm file to whatever you want, just as long as you also change any links that go with them.. tho leaving them as is wont really do any harm...


hope thats easy to understand

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.

Reply With Quote
  #15 (permalink)  
Old September 16th, 2006
forum member
 
Join Date: September 11th, 2006
Status: No Status
Posts: 28
Default

yeh man... i messed with it and it finally works. Thnx!
Reply With Quote
  #16 (permalink)   diamond-optic is Special  
Old September 16th, 2006
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,258
Default

some of the style stuff might not work.. like hovering style for links... not sure if the hl motd window can handle that..

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.

Reply With Quote
  #17 (permalink)  
Old February 22nd, 2011
occasional visitor
 
Join Date: February 19th, 2007
Status: No Status
Posts: 10
Default

I know this is an old thread but i need a little help from D-O

My website was recently hacked and i lost all the folders including my psychostats, i backed up the folder but the 1 file i needed was corrupt, It's the motd_top10.php, this is the file that links in and shows in the server MOTD, the psychostats top10 players on the server.

You wouldn't be kind enough to let me have this code again D-O.

Cheers
Reply With Quote
  #18 (permalink)   diamond-optic is Special  
Old February 22nd, 2011
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,258
Default

umm here's mine


idk if its the right one tho, it doesnt read the db directly each time the file is called. I have another file that gets the db entries (set up via a cron to run after each stats update) and it saves the top 10 players to another file.. Then this file just reads the entries that are saved in that other file
Attached Files
File Type: php motd_top10.php (2.1 KB, 11 views)

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.

Reply With Quote
  #19 (permalink)  
Old February 22nd, 2011
buck_futter's Avatar
obsessed with this forum
 
Join Date: June 20th, 2005
Location: toad's bedroom
Status: No Status
Posts: 2,196
Send a message via MSN to buck_futter
Default

use bullets motd please
Reply With Quote
  #20 (permalink)  
Old February 22nd, 2011
HAWKEYE's Avatar
AvaMods Admin
 
Join Date: December 13th, 2006
Location: New York
Status: No Status
Posts: 1,250
Default

Quote: Originally Posted by buck_futter View Post
use bullets motd please

lol


"A leaders words could be powerful, but they're not bullet proof."- Me
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 07:50 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.