This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Tales' Crack the Code script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
e
emokid
Voice
Posts: 22
Joined: Fri Dec 07, 2007 5:31 pm

Tales' Crack the Code script

Post by emokid »

http://www.egghelp.org/tclhtml/3478-4-0-0-1-tales.htm

Tales has a game script called "Crack the Code" and I'm trying to use it with the latest Eggdrop, but it doesn't seem to work...can anyone help me fix it? I even did this: http://forum.egghelp.org/viewtopic.php?p=30231 but to no avail.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Worked for me..
e
emokid
Voice
Posts: 22
Joined: Fri Dec 07, 2007 5:31 pm

Post by emokid »

Can you upload your script please? You can edit out the bot nickname and channel information, etc. I dunno why...I tried it in Windows Eggdrop and it worked but not in Linux. :(
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

It's the same script downloaded from the tcl archive, unaltered, all I did was add it to my bot, edit the variables it requires at the top of the script and rehash. I'm running on a linux platform, so it should work for you as well. Also, I'm running eggdrop v1.6.18 and tcl v8.4.11.

Check that the script is in fact being loaded, it should have a putlog entry that says "Crack the code script loaded."

If you're sure the script is being loaded, you can try debugging what's not working by putting "putcmdlog" lines into the procs, such as where it tests for the channel name (could be you have Upper/Lower case channelnames and the script is case-sensitive for them.)

Something like:

Code: Select all

if {$tls_chan != $chan} {putcmdlog "wrong channel - aborting";return}
That would tip you off that the script is quitting cos the channel name doesn't match.
e
emokid
Voice
Posts: 22
Joined: Fri Dec 07, 2007 5:31 pm

Post by emokid »

Well the script does load and I can do the commands in the channel, but it doesn't give any hints at all. I ran it over a period of 30 min. and it never gives any hints, even if you do !hint


Like you can do !ctc and the game will start and the bot says so, but it never gives any hints and the game never ends until someone guesses the 6 digits correctly without any hints.
Post Reply