| View previous topic :: View next topic |
| Author |
Message |
GouroB Voice
Joined: 17 Jan 2005 Posts: 29
|
Posted: Sat Oct 12, 2013 6:11 pm Post subject: alice and pandora bot... |
|
|
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 |
|
 |
GouroB Voice
Joined: 17 Jan 2005 Posts: 29
|
Posted: Mon Oct 14, 2013 8:01 pm Post subject: |
|
|
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 |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Oct 15, 2013 1:13 am Post subject: |
|
|
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 |
|
 |
GouroB Voice
Joined: 17 Jan 2005 Posts: 29
|
Posted: Tue Oct 15, 2013 5:05 am Post subject: |
|
|
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 |
|
 |
GouroB Voice
Joined: 17 Jan 2005 Posts: 29
|
Posted: Tue Oct 15, 2013 5:05 am Post subject: |
|
|
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 |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Oct 15, 2013 5:15 am Post subject: |
|
|
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 |
|
 |
GouroB Voice
Joined: 17 Jan 2005 Posts: 29
|
Posted: Tue Oct 15, 2013 5:28 am Post subject: |
|
|
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 |
|
 |
GouroB Voice
Joined: 17 Jan 2005 Posts: 29
|
Posted: Tue Oct 15, 2013 6:16 am Post subject: |
|
|
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 |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Oct 15, 2013 8:21 am Post subject: |
|
|
Try with:
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 |
|
 |
GouroB Voice
Joined: 17 Jan 2005 Posts: 29
|
Posted: Tue Oct 15, 2013 9:33 am Post subject: |
|
|
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 |
|
 |
GouroB Voice
Joined: 17 Jan 2005 Posts: 29
|
Posted: Wed Oct 16, 2013 8:16 am Post subject: |
|
|
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 |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Wed Oct 16, 2013 9:18 am Post subject: |
|
|
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.
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 |
|
 |
|