egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WarStats

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
m0oVe
Voice


Joined: 11 Mar 2005
Posts: 5

PostPosted: Fri Mar 11, 2005 12:15 am    Post subject: WarStats Reply with quote

Hi all!
i need some help with the warstats tcl..can someone make the HTML settings work ?
i can't and i have been hours trying too..everything elese works but not the stats page..can someone help me ?
Hope to get an awnser Smile
_________________
m0oVe @ PTnet
Back to top
View user's profile Send private message MSN Messenger
greenbear
Owner


Joined: 24 Sep 2001
Posts: 733
Location: Norway

PostPosted: Fri Mar 11, 2005 12:18 am    Post subject: Reply with quote

Try being (alot) more specific, then yea, maybe we can help you.

It would be helpful if you could tell us what settings you use and how you execute it, and posted the relevant code here (using code tags).
Back to top
View user's profile Send private message Send e-mail
m0oVe
Voice


Joined: 11 Mar 2005
Posts: 5

PostPosted: Fri Mar 11, 2005 12:24 am    Post subject: Reply with quote

gb thankz for the quick reply.. =)
ok it goes like this in the HTML settings on the warstats tcl :

## Enable or disable html stats generator ( 1=enable , 0=disabled )
set war_html 1

## Set the delay between two updates of the html page.
set war_htmldelay 30

## Set the exact name of the template file you are using to build the html file ( including extention, there are 2 included in this package : sample.template ( show how to use bgcolor feature ) and default.template ( a very basic one ) ).
set war_template "sample.template"

## Set the exact name of the html file that will contain warstats ( don't forget the extention, .html or .htm )
set war_webname "warstats.html"

## Enable or disable the upload of the html page ( you may want to disable it and use a local webserver ) ( 1=enable , 0=disabled )
set war_upload 1

## Enable or disable the upload of the WarArchives.bak for a backup every day at 00h00 ( use the same FTP infos as the webserver )
set war_uploadbackup 1

## Set the address of your webserver ( only if "war_upload" or "war_uploadbackup" is set to "1" )
set war_webserver "ftp.xxx.net"

## Set the login of your access on webserver ( only if "war_upload" or "war_uploadbackup" is set to "1" )
set war_weblogin "xxxx"

## Set the password of your access on webserver ( only if "war_upload" or "war_uploadbackup" is set to "1" )
set war_webpassword "xxxx"

## Set the path where html file will be uploaded on webserver or copy into a local folder if "war_upload" is set to "0" ( use a leading "/" but no trailing "/" )
set war_webfolder "/usr/home/xxxx/public_html"

anything wrong here?the bot should make an html page on http://login.xxxx.net/warstats.html right ?
_________________
m0oVe @ PTnet
Back to top
View user's profile Send private message MSN Messenger
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Fri Mar 11, 2005 5:40 am    Post subject: Reply with quote

It should do depending on how your http access is setup. The root of public_html is the most common place for the root of websites. Is your bot giving any errors? (look in the partyline (dcc chat)) when it updates does it make a connection to your ftp but fails to upload the html? maybe its an ftp problem? Rule all these out first then we can start to look at the tcl. Also when you post code as gb asked, use the code tags. It's the button next to quote Laughing
_________________
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Back to top
View user's profile Send private message Visit poster's website
m0oVe
Voice


Joined: 11 Mar 2005
Posts: 5

PostPosted: Fri Mar 11, 2005 1:29 pm    Post subject: Reply with quote

well i done it , i made the html settings right and the page is up and running , know i just need to know how to restart them xD
_________________
m0oVe @ PTnet
Back to top
View user's profile Send private message MSN Messenger
m0oVe
Voice


Joined: 11 Mar 2005
Posts: 5

PostPosted: Fri Mar 11, 2005 3:30 pm    Post subject: Reply with quote

hmm i tryed to delete the html file ( warstats.tcl ) and know it doesnt appear again...whats wrong? the tcl and all the other stuff are right...but it does not create the html file to put the stats in Neutral
_________________
m0oVe @ PTnet
Back to top
View user's profile Send private message MSN Messenger
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Fri Mar 11, 2005 4:55 pm    Post subject: Reply with quote

m0oVe wrote:
hmm i tryed to delete the html file ( warstats.tcl ) and know it doesnt appear again...whats wrong? the tcl and all the other stuff are right...but it does not create the html file to put the stats in Neutral


you delete warstats.tcl or warstats.html? does the folder its trying to save to have write access now?
_________________
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Back to top
View user's profile Send private message Visit poster's website
m0oVe
Voice


Joined: 11 Mar 2005
Posts: 5

PostPosted: Sun Mar 13, 2005 1:02 am    Post subject: Reply with quote

yes i think so..if not how can i do it ? :S
_________________
m0oVe @ PTnet
Back to top
View user's profile Send private message MSN Messenger
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Sun Mar 13, 2005 2:06 pm    Post subject: Reply with quote

Code:
chmod 655 foldername

_________________
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber