| View previous topic :: View next topic |
| Author |
Message |
diegobh Voice
Joined: 25 Mar 2013 Posts: 3
|
Posted: Mon Mar 25, 2013 9:30 pm Post subject: |
|
|
Thank you for ur help.
Ive already tried this, and i got:
| Code: |
Mix Disabled. Requires a larger database.
The .mix command currently requires a minimum of 3500 questions to function. |
So i cant mix it=( |
|
| Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
Posted: Mon Mar 25, 2013 9:49 pm Post subject: |
|
|
It's not much of a game with less than 3500 total questions, players will memorize them all in days.
Randomizing their order won't fix the fact you don't have enough questions.
Write and add more questions:)
This is the line of code that is triggering that error, it's in the bogus commands file....
| Code: | if {$t2(-qtotal)>"3499"} { lappend t2(_td) ques } else { incr t2(_er) }
|
You could try changing the minimum number of questions required: "3499"
to some lesser amount, though I'm sure it won't mix anything less than 2000 questions.
Note: Be sure to make a backup of your questions before trying this, bad things could happen to the database:) _________________ SpiKe^^
Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
. |
|
| Back to top |
|
 |
diegobh Voice
Joined: 25 Mar 2013 Posts: 3
|
Posted: Tue Mar 26, 2013 12:24 am Post subject: |
|
|
hum...
Ive 893 questions and i got error when tried to mix =(
Could you make this to get random questions?
It is really sux ordered questions...
Anyway, thank you very much for ur support  |
|
| Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
Posted: Tue Mar 26, 2013 12:32 am Post subject: |
|
|
Sure can't, that's not the way the script works.
The script uses a mixer command & expects you to have enough questions to run a trivia game.
That's why the script comes with 20,000+ questions included,
so the mixer will work and the questions won't loop around in less than a day of playing. _________________ SpiKe^^
Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
. |
|
| Back to top |
|
 |
|