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.

Crack the Code

Old posts that have not been replied to for several years.
Locked
User avatar
TALES
Halfop
Posts: 59
Joined: Sun Nov 09, 2003 8:45 am
Location: Netherlands
Contact:

Crack the Code

Post by TALES »

The game of Crack the Code some how i mist somthing or looked over the code: The tcl works on windrop but not on eggdrop.But a little change must me made for letting the game work.

change this in proc tls:code

Code: Select all

set tls_code [lindex $text 0 end]
to:

Code: Select all

set tls_code [lindex [split $text] 0]

tnx Souperman

Updates and new futures will come soon.

sorry for the mistake :oops:

the game can be found in tcl archive here:
http://www.egghelp.org/cgi-bin/tcl_arch ... escription
Last edited by TALES on Sun Nov 16, 2003 9:50 am, edited 1 time in total.
b
bobjuh
Master
Posts: 268
Joined: Wed Oct 03, 2001 8:00 pm
Location: Netherlands
Contact:

Re: Crack the Code

Post by bobjuh »

TALES wrote:The game of Crack the Code some how i mist somthing or looked over the code: The tcl works on windrop but not on eggdrop.But a little change must me made for letting the game work.

change this in proc tls:code

Code: Select all

set tls_code [lindex $text 0 end]
to:

Code: Select all

set tls_code [lindex $text 0]
Updates and new futures will come soon.

sorry for the mistake :oops:

the game can be found in tcl archive here:
http://www.egghelp.org/cgi-bin/tcl_arch ... escription
*lol*
Good job Tales :P
g
g!zMo
Voice
Posts: 5
Joined: Wed Aug 06, 2003 4:11 pm

Post by g!zMo »

The TCL didn't work with Windrop before. Now it works just fine.
But the german translation is terrible! It's funny, but almost impossible to play the game :)

I've translated it on my own:

First, change ""to "eine" and "kein" to "keine":

Code: Select all

   if {$tls_lang == "2"} {
    if {$tls_dig1 == $tls_rand} { set tls_quest eine
    } elseif {$tls_dig1 == $tls_rand} { set tls_quest eine
    } elseif {$tls_dig2 == $tls_rand} { set tls_quest eine
    } elseif {$tls_dig3 == $tls_rand} { set tls_quest eine
    } elseif {$tls_dig4 == $tls_rand} { set tls_quest eine
    } elseif {$tls_dig5 == $tls_rand} { set tls_quest eine
    } elseif {$tls_dig6 == $tls_rand} { set tls_quest eine
    } else {
	set tls_quest keine  
    }
and the rest

Code: Select all

if {$tls_lang == "2"} {
  set tls_frase1 "Das Spiel wurde bereits gestartet!"
  set tls_frase2 "Das Spiel hat begonnen. Ich habe mir eine 6-stellige Zahl ausgedacht. ******"
  set tls_frase3 "Die 6-stellige Zahl besteht aus Ziffern von 0 bis 6. Viel Glueck!"
  set tls_frase4 "Mit dem Befehl !hint ist es jetzt moeglich einen Tipp zu bekommen."
  set tls_frase5_1 "Es kommt"
  set tls_frase5_2 "in der Kombination vor."
  set tls_frase6_1 "Es gibt"
  set tls_frase6_2 "gerade Zahlen in der Kombination."
  set tls_frase6_3 "ungerade Zahlen in der Kombination."
  set tls_frase7_1 "Niemand hat den Code mit"
  set tls_frase7_2 "Fragen geknackt, die Kombination war:"
  set tls_frase8_1 "Zahl"
  set tls_frase8_2 "und Zahl"
  set tls_frase8_3 "addiert ergibt"
  set tls_frase8_4 "multipliziert ergibt"
  set tls_frase9 "ist:"
  set tls_frase10 "Tipp jetzt noch nicht moeglich oder ich habe bereits einen Tipp gegeben."
  set tls_frase11_1 "Glueckwunsch!"
  set tls_frase11_2 "hat den Code geknackt. Der Code war:"
  set tls_frase12_1 "Schade,"
  set tls_frase12_2 "das ist nicht der Code."
  set tls_frase13 "Punkte"
  set tls_frase14 "Tipps"
  set tls_frase15 "Falsch"
  set tls_frase16 "Die ersten 3"  
}
User avatar
TALES
Halfop
Posts: 59
Joined: Sun Nov 09, 2003 8:45 am
Location: Netherlands
Contact:

Post by TALES »

Tnx for the translation g!zMo :D
Locked