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 

ProjectX IRC 2 HTML
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Sat Jan 09, 2010 1:30 pm    Post subject: ProjectX IRC 2 HTML Reply with quote

http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=779

The script doesn't work, any chance for a fix/update please?
_________________
Idling at #Football, Quakenet.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Jan 10, 2010 11:09 am    Post subject: Reply with quote

I've not found any errors with the script at all. it works fine. Can you post your error message or more information? like the output of .set errorInfo
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Mon Jan 11, 2010 3:45 pm    Post subject: Reply with quote

[19:43] Tcl error in file 'EPL.conf':
[19:43] invalid channel: #channel
while executing
"chanlist $chan"
(procedure "pxi2h:make" line 5)
invoked from within
"pxi2h:make $ele"
("foreach" body line 3)
invoked from within
"foreach ele [array names pxi2h_chan] {
if {![info exists pxi2h_history($ele)]} { set pxi2h_history($ele) "" }
pxi2h:make $ele
}"
(file "scripts/pxi2h.tcl" line 241)
invoked from within
"source scripts/pxi2h.tcl"
(file "EPL.conf" line 1378)
[19:43] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)




This is the pix2h.tcl file:

# The channel set to show online:
set pxi2h_chan(#channel) "/home/xabriel/eggdrop/public_html/epl.html"
#
# The prefix to prevent stuff from being shown on the web:
set pxi2h(secret) "."
#
# Maximum number of lines shown on the web:
set pxi2h(maxlines) 15
#
# The page is set to refes every X seconds:
set pxi2h(refresh) 10
#
# The title of the page:
set pxi2h(title) "#EPL Quakenet - English Premier League Community"
#
# Text color:
set pxi2h(text) "#FFFFFF"
#
# Background color:
set pxi2h(bgcolor) "#000000"
#
# Heading color:
set pxi2h(heading) "#6666EE"
#
# Font type:
set pxi2h(font) "monospace"

Even if I change #channel to #EPL it doesn't work, what am I doing wrong?
_________________
Idling at #Football, Quakenet.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Mon Jan 11, 2010 4:19 pm    Post subject: Reply with quote

Code:
set pxi2h_chan(#channel) "/home/xabriel/eggdrop/public_html/epl.html"
#channel should be the channel name you want it to display the stuff from Razz
Example: (if i wanted #chat to be displayed)
Code:

set pxi2h_chat(#chat) "/home/public_html/ircchans/chat.html"

_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Mon Jan 11, 2010 4:37 pm    Post subject: Reply with quote

I've changed it to:

[/code]set pxi2h_epl(#epl) "/home/xabriel/eggdrop/public_html/epl.html"
Code:


but it doesn't seem to work, it didn't create a public_html folder or a epl.html file.

* Is there an option to make it auto-update/auto-upload the file to a ftp/website?

_________________
Idling at #Football, Quakenet.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Tue Jan 12, 2010 3:14 pm    Post subject: Reply with quote

in DCC/Telnet type: .irc2html it should display the status (i.e on/off)
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Thu Jan 14, 2010 12:26 pm    Post subject: Reply with quote

.irc2html
ProjectX irc2html is on


but doesn't generate anything.
_________________
Idling at #Football, Quakenet.
Back to top
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Thu Jan 14, 2010 2:05 pm    Post subject: Reply with quote

The public_html folder on a shell host is normally the physical folder of the 'website' given by said shell host. Didn't have a public_hmtl folder before? Then your shell host probably doesn't give you free web space with your account or it's not directly linked up with your shell account.

I think that one of the reasons nothing is generating for you is because your output folder does not exist. Read - you need to make the public_html folder within your eggdrop folder before it will output at all. It probably checks if the path exists before trying to output the file - since it sees the path doesn't exist, it just doesn't output a file. So the simplest solution? Make the folder or change the output path.

As for uploading? You may need a ftp uploading script (check the script database) that does it for you. I use one with my bot that uploads my pisg stats pages on to my web host every hour. You can probably find one to do the same for you too.
Back to top
View user's profile Send private message Visit poster's website
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Thu Jan 14, 2010 3:04 pm    Post subject: Reply with quote

@Football: change the webpage path something like
Code:
set pxi2h_epl(#epl) "epl.html"
to see if it generates it that way Smile (you can always link it to your web directory later if it dose)
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Thu Jan 14, 2010 5:19 pm    Post subject: Reply with quote

Nothing changed, didn't create a epl.html file anywhere..
_________________
Idling at #Football, Quakenet.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Fri Jan 15, 2010 3:52 am    Post subject: Reply with quote

I wouldn't know what would be causing it to not creat the html file then.
The script was made for versions 1.3 so at best i'd hope for someone to update or creat a newer script for you Sad sorry
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Sun Feb 14, 2010 6:00 am    Post subject: Reply with quote

Good news, the script finally works properly for me.

Though the bot doesn't display his own words, any chance someone could modify it will?
My bot is using rssnews.tcl, and I would like to see it logged into the file aswell..
_________________
Idling at #Football, Quakenet.
Back to top
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Sun Feb 14, 2010 6:23 am    Post subject: Reply with quote

The exception of the bot in stats should have $botnick in it. You could probably remove or change this line manually so it doesn't if you want.
Back to top
View user's profile Send private message Visit poster's website
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Sun Feb 14, 2010 6:41 am    Post subject: Reply with quote

Nope, no $botnick in the script
_________________
Idling at #Football, Quakenet.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Feb 14, 2010 1:15 pm    Post subject: Reply with quote

This may be helpful http://forum.egghelp.org/viewtopic.php?t=13270
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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