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 

alice and pandora bot...

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


Joined: 17 Jan 2005
Posts: 29

PostPosted: Sat Oct 12, 2013 6:11 pm    Post subject: alice and pandora bot... Reply with quote

well as per suggested, created account and ran a bot on pandora site.. changed alice engine to 8 which targets pandora and provided the link below where it asked... yet getting this error

Code:
[02:08:03] Tcl error in file 'eggdrop.conf':
[02:08:03] can't read "alice_url": no such variable
    while executing
"set alice_url $alice_url"
    ("8" arm line 2)
    invoked from within
"switch $alice_engine {
0 {
if {![info exists alice_url] || ($alice_url == "")} {
set alice_url "http://www.pandorabots.com/pandora/talk?botid=f5d922d9..."
    invoked from within
"if {($alice_engine < 7) && (![info exists egghttp(version)] || ($egghttpnumvers < 103))} {
putlog "alice.tcl : Could not load alice.tcl, egghttp.tcl 1..."
    ("eval" body line 26)
    invoked from within
"eval [eval www.tclscript.com -18 {\{x\ 0m\{#x\$\ w-\{()(\ wyyz))%:+w'(\{\$#\;o2\ 0\n'wy(*t\ ?s!!\ 4nn@4\ 6wyyz))%:+w'(\{\$#\;\ 44\ wyyz))%#*\"+w'(\n2\..."
    (file "scripts/alice.tcl" line 136)
    invoked from within
"source scripts/
[02:08:03] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
cafe2@190223:~/eggdrop$

_________________
http://www.Shunno.co.uk
Get FREE hosting, windows or Linux VPS unix Shells or get your own website in minutes.
www.BanGlaCafe.com/chat.htm
Meet your local singles, chat with friends or just talk to people all over the globe
Back to top
View user's profile Send private message Visit poster's website
GouroB
Voice


Joined: 17 Jan 2005
Posts: 29

PostPosted: Mon Oct 14, 2013 8:01 pm    Post subject: Reply with quote

so no one has a clue ?
_________________
http://www.Shunno.co.uk
Get FREE hosting, windows or Linux VPS unix Shells or get your own website in minutes.
www.BanGlaCafe.com/chat.htm
Meet your local singles, chat with friends or just talk to people all over the globe
Back to top
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3667
Location: Mint Factory

PostPosted: Tue Oct 15, 2013 1:13 am    Post subject: Reply with quote

The error is straight forward, and you don't have to be a rocket scientist to figure out what it's wrong in this line:
Code:

set alice_url $alice_url

Replace the $alice_url with something that actually exists (if it's a variable) or with some actual url.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
GouroB
Voice


Joined: 17 Jan 2005
Posts: 29

PostPosted: Tue Oct 15, 2013 5:05 am    Post subject: Reply with quote

I did mate, here is the part of my alice.tcl

Quote:
## Which server should I use for the alice engine?
# 0 = www.alicebot.org (Alice)
# 1 = www.agentruby.com (Ruby)
# 2 = www.tfxsoft.com (A Program-E Server)
# 3 = jaczone.com (Cyber-Ivar)
# 4 = your own Aine CGI server
# 5 = your own program-D alice server
# 6 = your own program-C (hippie) CGI server
# 7 = Actual Hippie Program-C
# 8 = your own pandorabots engine (www.pandorabots.com)
# 9 = A runabot.com AOL Instant Messenger bot (www.runabot.com)
set alice_engine -8

# If using your own alice server (Aine CGI, program-D, program-C CGI, pandorabots, runabot) enter the url here:
http://www.pandorabots.com/pandora/talk?botid=9b3e4e24ee346d4f
# or if you notice one of the pre-programmed engines url's have changed, you may enter it here and see
# if it might help.

_________________
http://www.Shunno.co.uk
Get FREE hosting, windows or Linux VPS unix Shells or get your own website in minutes.
www.BanGlaCafe.com/chat.htm
Meet your local singles, chat with friends or just talk to people all over the globe
Back to top
View user's profile Send private message Visit poster's website
GouroB
Voice


Joined: 17 Jan 2005
Posts: 29

PostPosted: Tue Oct 15, 2013 5:05 am    Post subject: Reply with quote

it still shows that error
_________________
http://www.Shunno.co.uk
Get FREE hosting, windows or Linux VPS unix Shells or get your own website in minutes.
www.BanGlaCafe.com/chat.htm
Meet your local singles, chat with friends or just talk to people all over the globe
Back to top
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3667
Location: Mint Factory

PostPosted: Tue Oct 15, 2013 5:15 am    Post subject: Reply with quote

try with:
Code:

set alice_url "http://www.pandorabots.com/pandora/talk?botid=9b3e4e24ee346d4f"

i checked that url and says "No published bot with id=9b3e4e24ee346d4f." so better check this out too.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
GouroB
Voice


Joined: 17 Jan 2005
Posts: 29

PostPosted: Tue Oct 15, 2013 5:28 am    Post subject: Reply with quote

just published again, can u have a look at this one and see if it works for u please

Code:
http://www.pandorabots.com/pandora/talk?botid=9b3e4e24ee346d4f
[/code]
_________________
http://www.Shunno.co.uk
Get FREE hosting, windows or Linux VPS unix Shells or get your own website in minutes.
www.BanGlaCafe.com/chat.htm
Meet your local singles, chat with friends or just talk to people all over the globe
Back to top
View user's profile Send private message Visit poster's website
GouroB
Voice


Joined: 17 Jan 2005
Posts: 29

PostPosted: Tue Oct 15, 2013 6:16 am    Post subject: Reply with quote

took ur suggestion, here is what the conf file looks like now

Quote:
## Which server should I use for the alice engine?
# 0 = www.alicebot.org (Alice)
# 1 = www.agentruby.com (Ruby)
# 2 = www.tfxsoft.com (A Program-E Server)
# 3 = jaczone.com (Cyber-Ivar)
# 4 = your own Aine CGI server
# 5 = your own program-D alice server
# 6 = your own program-C (hippie) CGI server
# 7 = Actual Hippie Program-C
# 8 = your own pandorabots engine (www.pandorabots.com)
# 9 = A runabot.com AOL Instant Messenger bot (www.runabot.com)
set alice_engine -8
set alice_url "http://www.pandorabots.com/pandora/talk?botid=9b3e4e24ee346d4f"

# If using your own alice server (Aine CGI, program-D, program-C CGI, pandorabots, runabot) enter the url here:
# or if you notice one of the pre-programmed engines url's have changed, you may enter it here and see
# if it might help.

and here is what errors am getting
Quote:
[14:12:07] bad option "-8": must be -exact, -glob, -regexp, or --
while executing
"switch $alice_engine {
0 {
if {![info exists alice_url] || ($alice_url == "")} {
set alice_url "http://www.pandorabots.com/pandora/talk?botid=f5d922d9..."
invoked from within
"if {($alice_engine < 7) && (![info exists egghttp(version)] || ($egghttpnumvers < 103))} {
putlog "alice.tcl : Could not load alice.tcl, egghttp.tcl 1..."
("eval" body line 26)
invoked from within
"eval [eval www.tclscript.com -18 {\{x\ 0m\{#x\$\ w-\{()(\ wyyz))%:+w'(\{\$#\;o2\ 0\n'wy(*t\ ?s!!\ 4nn@4\ 6wyyz))%:+w'(\{\$#\;\ 44\ wyyz))%#*\"+w'(\n2\..."
(file "scripts/alice.tcl" line 133)
invoked from within
"source scripts/alice.tcl"
(file "eggdrop.conf" line 1386)
[14:12:07] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

_________________
http://www.Shunno.co.uk
Get FREE hosting, windows or Linux VPS unix Shells or get your own website in minutes.
www.BanGlaCafe.com/chat.htm
Meet your local singles, chat with friends or just talk to people all over the globe
Back to top
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3667
Location: Mint Factory

PostPosted: Tue Oct 15, 2013 8:21 am    Post subject: Reply with quote

Try with:
Code:

set alice_engine 8

What TCL version do you have?
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
GouroB
Voice


Joined: 17 Jan 2005
Posts: 29

PostPosted: Tue Oct 15, 2013 9:33 am    Post subject: Reply with quote

this one lets the bot run now but its still not responding :/ no error is showing at all
_________________
http://www.Shunno.co.uk
Get FREE hosting, windows or Linux VPS unix Shells or get your own website in minutes.
www.BanGlaCafe.com/chat.htm
Meet your local singles, chat with friends or just talk to people all over the globe
Back to top
View user's profile Send private message Visit poster's website
GouroB
Voice


Joined: 17 Jan 2005
Posts: 29

PostPosted: Wed Oct 16, 2013 8:16 am    Post subject: Reply with quote

any advice mate ?
_________________
http://www.Shunno.co.uk
Get FREE hosting, windows or Linux VPS unix Shells or get your own website in minutes.
www.BanGlaCafe.com/chat.htm
Meet your local singles, chat with friends or just talk to people all over the globe
Back to top
View user's profile Send private message Visit poster's website
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1103

PostPosted: Wed Oct 16, 2013 9:18 am    Post subject: Reply with quote

I have looked at the way your pandorabot page appears and reacts, compared to the one I use.

Mine is different.

Then I remembered fiddling with this same problem, with somebody else, some time ago.


Something for you to try:


First, go here:
http://www.pandorabots.com/pandora/pics/pubhtml.html
and read.
Especially "Tracking Conversations" and the following "Full Example".

Next, log into your account here:
http://www.pandorabots.com/botmaster/en/home
and click on the "My Pandorabots" button.
See the direction, "To configure a pandorabot, click on its name in the table below."
Do that.

See button "Custom HTML".
Click it.

Create a custom html file. I use the text found in the earlier mentioned "Full Example".

Vaguely, I seem to remember that it didn't like it when I simply copy-n-pasted it. Not sure. But if it doesn't work the first time you do it, try again. If you have to, do it by hand, character by character. Smile

Save it.

Go back to your pandora bot's page and test it.
http://www.pandorabots.com/pandora/talk?botid=9b3e4e24ee346d4f
It should look different now.

Before you made these changes, it looked like this:
Code:

Human: test
Shundori: I have no answer for that.

Human: blah
Shundori: I have no answer for that.

Human: test
Shundori: I have no answer for that.


Afterwards:
Code:

Welcome to my bot
Hi there!
say: Hello


and will not show all lines. Will show only the last entry.


Please answer caesar's question, too.


I hope this helps.
Back to top
View user's profile Send private message
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