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 

Tales' Crack the Code script

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


Joined: 07 Dec 2007
Posts: 22

PostPosted: Fri Dec 21, 2007 9:06 pm    Post subject: Tales' Crack the Code script Reply with quote

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.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Dec 22, 2007 8:11 am    Post subject: Reply with quote

Worked for me..
Back to top
View user's profile Send private message
emokid
Voice


Joined: 07 Dec 2007
Posts: 22

PostPosted: Wed Dec 26, 2007 12:09 am    Post subject: Reply with quote

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. Sad
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Dec 26, 2007 10:18 am    Post subject: Reply with quote

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:

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.
Back to top
View user's profile Send private message
emokid
Voice


Joined: 07 Dec 2007
Posts: 22

PostPosted: Wed Dec 26, 2007 3:38 pm    Post subject: Reply with quote

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.
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